Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-02-2012, 04:32   #46
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: AIS Targets Disappear After a Longer Period

Quote:
Originally Posted by cagney View Post
mrm

Are you aware of the VDR, voyage data recorder, plugin?
PlugIns | Official OpenCPN Homepage

Thomas
Thomas, I wasn't aware...

Anyway, it was a nice short project and exercise, and is app agnostic which may be a plus.

Marius
__________________

__________________
mrm is offline   Reply With Quote
Old 11-02-2012, 04:35   #47
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: AIS Targets Disappear After a Longer Period

Marius

OK!
Just keep on hacking!

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 11-02-2012, 10:33   #48
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

mrm..

OK,thanks Marius....I will await solutions...

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 11-02-2012, 11:07   #49
Registered User

Join Date: Feb 2010
Posts: 619
Re: AIS Targets Disappear After a Longer Period

Quote:
Originally Posted by sinbad7 View Post
I will await solutions...
Don't await... try to isolate...

I have Vista and I'm quite sure the contents of your NMEA stream is not at fault here...
__________________
PjotrC is offline   Reply With Quote
Old 11-02-2012, 14:01   #50
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

PjotrC..

Don't quite know what you mean by 'isolate' but I am also positive the NMEA data loss is an OpenCPN programing error as it works perfectly with other nav. progs. such as Fugawi ENC Marine etc.

Hope Dave will have a look at it when he returns from his cruise.

I am sure there are many out there still on Vista with a potential dangerous situation at the sudden disappearance of their NMEA data.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 06-03-2012, 21:04   #51
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
Re: AIS Targets Disappear After a Longer Period

Hi all....

I'm back, in a low bandwidth sort of way...

Any progress on isolating this Vista AIS dropout problem?
My suspicions lie in the Vista serial port support code, but are unproven.
Anyone else with Vista and SR161/162 receiver?

MRM: Your idea to send NMEA data to OCPN would have worked just fine with a FIFO if you had known about an undocumented backdoor inserted for just this purpose.

see the code in ais.cpp

Code:
  /*
     A special test for a user defined FIFO
     To use this method, do the following:
     a.  Create a fifo            $mkfifo /tmp/aisfifo
     b.  netcat into the fifo     $nc {ip} {port} > /tmp/aisfifo
                     sample {ip} {port} could be  nc 82.182.117.51 6401 > /tmp/aisfifo
     c.  hand edit opencpn.conf and make AIS data source like this:
          [Settings/AISPort]
          Port=Serial:/tmp/aisfifo

    This also works if you have an ascii ais log
    for which you can simply $cat ais.log > /tmp/aisfifo
    */
    if(m_pPortName->Contains(_T("fifo")))
          goto port_ready;
You may see that if the port name contains the string "fifo", then the requirement for the port to be a TTY is relaxed.

Sorry you had to code around this "feature", but as usual I code faster than I document....

Dave
__________________
bdbcat is online now   Reply With Quote
Old 06-03-2012, 21:33   #52
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising Southern Indonesia, heading for peninsular Malaysia
Boat: Wauquiez 45' (now 48') catamaran
Posts: 523
Send a message via Skype™ to Jon Hacking
Re: AIS Targets Disappear After a Longer Period

We used an SR161 for 4 years, but on XP & Win7, not Vista. But I suspect the culprit is the Serial-USB converter. I've had more problems getting GPS info into friends computers because of poor converters. The problem is that RS232 Serial is a +/-9v signal, & NMEA is a 0-5v signal. A good Serial-USB converter will handle this fine, but a poor one won't. We've used a KeySpan 4-port Serial-USB converter for 5 years with no problems at all. It cost 2x what the others did, but it works!
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 07-03-2012, 05:21   #53
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

Dave..

As mentioned earlier in this thread,I'm on Vista Basic.
Querying the AIS targets as well as the Target List aborts OCPN.
AIS targets are also lost after a period of time (45 min or so)

I have normal operation using Fugawi Marine ENC..

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 07-03-2012, 17:57   #54
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

I've made a rather strange observation regarding displayed AIS targets in Vista. If you minimize the OCPN screen,the targets do not disappear,as they do after a longish period in a full screen.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-03-2012, 08:40   #55
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

The new beta v. 2.6.1511 has corrected the AIS queery problems but the AIS data is still being removed after a longer period.

I tested the incoming AIS data for a long period with AIS Despatcher and all was working normally,no data loss. It also works perfectly with Fugawi ENC Marine.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-03-2012, 10:25   #56
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

Another anomaly with v. 2.6.1511 is that whilst NO AIS targets are visible,a queery of the AIS Target List shows all of 7 vessels?

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_01 Mar. 15 13.21.jpg
Views:	67
Size:	191.8 KB
ID:	38747  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 15-03-2012, 11:03   #57
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: AIS Targets Disappear After a Longer Period

Quote:
Originally Posted by sinbad7 View Post
Another anomaly with v. 2.6.1511 is that whilst NO AIS targets are visible,a queery of the AIS Target List shows all of 7 vessels?

Tore
Tore
The possibility exists that these targets are outside the screen but still within the set 40M limit. You maybe right, but the screen dump is not sufficient proof.
Thomas
__________________
cagney is offline   Reply With Quote
Old 15-03-2012, 11:49   #58
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,046
Re: AIS Targets Disappear After a Longer Period

Quote:
Originally Posted by sinbad7 View Post
Another anomaly with v. 2.6.1511 is that whilst NO AIS targets are visible,a queery of the AIS Target List shows all of 7 vessels?

Tore
Tore

could you post two screenshots, like the one you just posted, with the AIS target list window open:
1) before the AIS targets disappear
2) after the AIS targets have disappeared

Hopefully the ships are in about the same position for both screenshots.

Both screenshots should show the same location, at the same scale.

Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 16-03-2012, 09:54   #59
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

Thomas..

Of course I am aware of the fact that AIS targets displayed in the AIS target list may not be visible on the map outside of the used scale.

I have cases where NO targets are showing at all,or the number of targets do not correlate with the target list.

The next to last screen shot after a period of 2 hours shows ALL targets removed from both the AIS listing as well as from the screen.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_02 Mar. 15 16.38.jpg
Views:	78
Size:	160.7 KB
ID:	38776   Click image for larger version

Name:	Screenshot_01 Mar. 16 09.15.jpg
Views:	63
Size:	160.3 KB
ID:	38777  

Click image for larger version

Name:	Screenshot_02 Mar. 16 12.55.jpg
Views:	67
Size:	122.6 KB
ID:	38778   Click image for larger version

Name:	Screenshot_01 Mar. 15 13.21.jpg
Views:	77
Size:	191.8 KB
ID:	38779  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 18-03-2012, 08:33   #60
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: AIS Targets Disappear After a Longer Period

Again,after a few minutes,all the AIS targets disappeared from my screen,only the AIS Target list still shows the targets. Only by re booting OCPN did the same targets reappear on screen as well as in the AIS Target list.

There is nothing wrong with either my SR162 receiver or the RS232/USB cable,as all targets arrive continuously in both Fugawi ENC Marine as well as in my AIS Dispatcher utility as can be seen from the attached AIS data file.

A potentially dangerous situation navigating in a busy area when ALL targets suddenly disappears from your screen.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_01 Mar. 18 11.13.jpg
Views:	71
Size:	261.0 KB
ID:	38859   Click image for larger version

Name:	Screenshot_02 Mar. 18 11.14.jpg
Views:	68
Size:	235.7 KB
ID:	38860  

Attached Files
File Type: doc AIS-17MAR.doc (4.9 KB, 28 views)
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Reply

Tags
ais

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with AIS taku OpenCPN 4 03-10-2014 10:17
AIS Unit for Raymarine Chartplotter System mukilteomaniac Marine Electronics 4 23-01-2012 02:06
New SiiTech AIS Reporting System For Yachts sinbad7 Marine Electronics 36 05-08-2011 07:51
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31
AIS Reception Issue twistedtree Marine Electronics 72 03-07-2011 04:57



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:32.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.