Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-11-2010, 17:46   #31
Registered User

Join Date: Sep 2010
Location: Central Florida
Boat: Sovereign Adventure 23, T/V Barbara Ann
Posts: 7
Not just open Captain

My communication problem is with Microsoft Streets & trips on an XP equipped Acer Aspire netbook. It will run forever without a glitch, but if I choose to have S&T provide active driving directions, it "Freezes" after just a few minutes and I have to exit the program and re-enter and reestablish the GPS link etc.
My guess is that most of the "navigational" programs use similar programing logic, that's why we have similar problems with quite different programs.

Sailson
__________________

__________________
sailson is offline   Reply With Quote
Old 25-11-2010, 21:33   #32
Registered User

Join Date: Nov 2009
Posts: 8
log file after communication with gps is lost

Hi, following the problem described previously
(setup: gps bu353, netbook acer aspire one, windows 7 starter)

Attached is a logfile in case someone can find something in there.
I have edited the file to keep the logs of two OpenCPN runs that ended with no more communication with the gps receiver. (I had to end opencpn by killing it with the process manager).
Except for the fact that there's no clean exit logged, I'm not able to see a hint in there.
One line say's :
"Found Garmin USB Driver." although the gps connected is not the garmin (I also have a garmin gps and mapsource installed).

I'm presently trying the following solution:

1-connect the gps (bu353) and use GpsGate as the main gps data receiver.
2-let GpsGate create a virtual com port for sharing the gps data.
3-Connect OpenCPN to this virtual com port instead of the real one.

I started OpenCPN 6 hours ago with this configuration and everything still working fine.
Hope this can be a workaround for now.

More on this test soon.
__________________

__________________
dehem is offline   Reply With Quote
Old 25-11-2010, 21:38   #33
Registered User

Join Date: Nov 2009
Posts: 8
the missing attached log file

I had to change the extension from .log to .pdf for the forum to accept the file but it is really a text file (save and rename with .txt or .log)
Attached Files
File Type: pdf shortopencpn.pdf (4.6 KB, 44 views)
__________________
dehem is offline   Reply With Quote
Old 25-11-2010, 21:55   #34
Registered User

Join Date: Oct 2005
Posts: 120
Good idea ...

... to use a virtual serial port as a fix for this very annoying issue. Thanks dehem for the idea.
I am also trying the latest prolific driver as suggested above, as well as disabling the power saving shut down. Unfortunately, every time I restart the computer, Windows 7 resets this last feature to its default on state.

Pavel,
This seems to me like a serious bug for W7 users (mine is 64 bits) that should be fixed in the next release.
__________________
claire
claire is offline   Reply With Quote
Old 25-11-2010, 23:49   #35
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,015
dehem,
thanks for the log, there really is nothing of a help

claire,
yes of course it should be fixed ASAP.

Anybody here tested the 2.2 beta to confirm the issue is there as well? From what I can see all of you are on 2.1.624a stable.

Pavel
__________________
nohal is online now   Reply With Quote
Old 26-11-2010, 00:01   #36
Registered User

Join Date: Jul 2010
Location: Seattle, Wa
Boat: Spencer 31
Posts: 62
I ran across similar issues with my Acer Timeline laptop running win 7 64 bit with a bu353. My system would bluescreen and restart when running opencpn (other programs that used the puck ran ok).

Similar to dehem's suggestion, my solution was to write a quick com port mirroring application that simply opened the com port that the puck was on, read the data and wrote it to another port. Since the communication was one way, it prevented opencpn from sending any commands to the puck. In this arrangement, the system has run reliably without a single issue.

Perhaps opencpn is sending a command intermittently which is causing the hanging/crashing?
__________________
jaredko is offline   Reply With Quote
Old 26-11-2010, 06:19   #37
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,877
jaredko....

Thanks for the info.

I'd like to see your com port mirror code, and compare to my handling of the comport. Maybe this will shed some light.

In normal operation, OpenCPN sends no data to the GPS.

Meanwhile, I'm trying to reproduce the fault here with hardware at hand. We'll see.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 26-11-2010, 09:17   #38
Registered User

Join Date: Nov 2009
Posts: 8
workaround with GpsGate

Just wanted to confirm that OpenCPN connected to the gps (BU-353) through a virtual port (GpsGate) has been working without any problem for the last two days.

It can be a good workaround for now.
__________________
dehem is offline   Reply With Quote
Old 26-11-2010, 11:00   #39
Registered User

Join Date: Jul 2010
Location: Seattle, Wa
Boat: Spencer 31
Posts: 62
bdbcat,

My code is on another computer, but it is nothing genius. Assuming the gps puck is on com 1 and opencpn is listening on com 2, I have.

com1.open()
com2.open()
while(true)
data = com1.readln()
com2.writeln(data)

I've got some error handling code to reopen a port should it be closed, but that is the meat of it. I'll post the actual code on Monday.
__________________
jaredko is offline   Reply With Quote
Old 26-11-2010, 12:32   #40
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Use portmon.exe if you are on Windows and really want to know what is going on at the com port: Portmon for Windows
__________________
CarCode is offline   Reply With Quote
Old 26-11-2010, 15:47   #41
Registered User

Join Date: Nov 2009
Posts: 8
same problem with beta version

nohal:

I've checked today with the beta version (2.2.1124) and found the same problem. Lost communication with the gps puck after one hour.
__________________
dehem is offline   Reply With Quote
Old 27-11-2010, 06:35   #42
Registered User

Join Date: Oct 2005
Posts: 120
I think I solved my GPS problems.

I did the following:
1. Found a setting in the laptop power scheme (advanced setting) where I was able to completely disable "usb selective suspend"
2. As stated elsewhere, I reinstalled my AT&T option usb GPS driver
3. For the Garmin GPS connected thru a Prolific serial adapter, I installed the latest driver recommended by an earlier post (dated July 2010)

I then ran Opencpn for more than 3 hours with each GPS and had no issue. As we were at the anchorage, I couldn't run much longer to save power, but I'll test it further during tomorrow's sail.
__________________
claire
claire is offline   Reply With Quote
Old 27-11-2010, 07:00   #43
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Claire,

the wonderful world of Windows
Good for spending time and money and solving problems one never had without it...

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 28-11-2010, 06:11   #44
Registered User

Join Date: Oct 2005
Posts: 120
One more day sailing and the problems are back.
For further details see the thread I started on R2.1.0 issues with Windows 7.
__________________
claire
claire is offline   Reply With Quote
Old 28-11-2010, 06:40   #45
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Claire,

try to use the KeySpan USA-19HS RS232/USB adapter instead of the cheap chinese adapters. It is more expensive but saves you time and headache. The company promote it as the world's best USB Serial Adapter and I guess it is true.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Reply

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
Problems with GPS and AIS Data in Ubuntu tebsin OpenCPN 29 04-07-2010 13:07



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 17:57.


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.