Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 11-11-2013, 06:42   #1
Registered User

Join Date: Sep 2009
Boat: Shuttleworth 31
Posts: 70
NMEA output problems

I have OpenCPN 3.2.2 running on Window 7 Starter on a netbook connected via two serial ports to a VHF/AIS and a Tacktick NMEA hub. The AIS is functioning perfectly on COM4 but the COM3 connection works on input mode only. As soon as I check the 'output on this port' box OpenCPN loses position data.

Looking at the nmea debug window shows everything working without the output on COM3 but then with the 'output on this port' box checked there are numerous red sentences, plus the position symbol goes red.

If anyone can help me I may not go crazy... Thanks!
elhix is offline   Reply With Quote
Old 11-11-2013, 07:22   #2
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,548
Re: NMEA output problems

Quote:
Originally Posted by elhix View Post
I have OpenCPN 3.2.2 running on Window 7 Starter on a netbook connected via two serial ports to a VHF/AIS and a Tacktick NMEA hub.
Please tell us more about your netbook and it's serial in's, cos I haven't seen any recent laptop or netbook with actual serial inputs. Usually one uses a serial to USB adaptor.
Lake-Effect is offline   Reply With Quote
Old 11-11-2013, 07:40   #3
Registered User

Join Date: Sep 2009
Boat: Shuttleworth 31
Posts: 70
Re: NMEA output problems

Sorry, yes I have two usb- serial adaptors.

I had this system running with opencpn 3.2 last year with no problems on another netbook. I just tested that netbook (which now also has opencpn 3.2.2) and found exactly the same problem.
elhix is offline   Reply With Quote
Old 11-11-2013, 08:01   #4
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,548
Re: NMEA output problems

Thanks. There's the possibility that the two USB-serial adaptors are competing for the same port or otherwise colliding... could be driver-related.

There might be a way in the driver or system config to force the USB adaptor COM ports to a higher number. I think my USB-serial adaptor shows up on COM6.

Enlighten us - why do you need two NMEA ports on the netbook? Can you not just take a single NMEA output from after the hub, which should take care of merging the GPS and AIS data?

As a general principle, I aim to have the fewest possible connections running to a laptop. (0 - wireless is ideal )
Lake-Effect is offline   Reply With Quote
Old 11-11-2013, 08:40   #5
Registered User

Join Date: Sep 2009
Boat: Shuttleworth 31
Posts: 70
Re: NMEA output problems

Quote:
Originally Posted by Lake-Effect View Post
Enlighten us - why do you need two NMEA ports on the netbook? Can you not just take a single NMEA output from after the hub, which should take care of merging the GPS and AIS data?

As a general principle, I aim to have the fewest possible connections running to a laptop. (0 - wireless is ideal )
The AIS input comes in from the VHF/AIS at baud rate of 38400, the input from the nmea hub has a baud rate of 4800.
elhix is offline   Reply With Quote
Old 11-11-2013, 12:17   #6
Registered User

Join Date: May 2011
Location: Lake Ont
Posts: 8,548
Re: NMEA output problems

Quote:
Originally Posted by elhix View Post
The AIS input comes in from the VHF/AIS at baud rate of 38400, the input from the nmea hub has a baud rate of 4800.
I can't find a good manual for the T122, but I would have expected a modern hub to merge the NMEA data regardless of different rates. Alternatively maybe you can change one of the rates (eg change the AIS data rate to 4800).

I don't have one hooked up right now, but if you can see both serial-USB interfaces in Window's device control panel, you can possibly force them to separate COM ports.
Lake-Effect is offline   Reply With Quote
Old 11-11-2013, 12:26   #7
Registered User

Join Date: Oct 2012
Location: Gulf Harbour, New Zealand
Boat: Farr Phase 4, 12.8m
Posts: 1,160
Re: NMEA output problems

Sorry, you cannot have AIS at 4800 - it is too slow for the data stream, and will cause data loss.
Try the com 3 adapter alone - same problem? Try the com 4 adapter alone - same problem?
Do you have the latest drivers for the USB-Serial adapters?
__________________
Matt Paulin
Neptune's Gear is offline   Reply With Quote
Old 11-11-2013, 13:59   #8
Registered User

Join Date: May 2012
Location: Sydney, Australia
Boat: Dufour 310
Posts: 202
Quote:
Originally Posted by NZ8720
Sorry, you cannot have AIS at 4800 - it is too slow for the data stream, and will cause data loss.
Try the com 3 adapter alone - same problem? Try the com 4 adapter alone - same problem?
Do you have the latest drivers for the USB-Serial adapters?
You may be getting an irq clash try changing the irq to a unique number 3 or 4 could be good. This is done in device manager. Each serial port must be on its own irq
ben373 is offline   Reply With Quote
Old 11-11-2013, 19:56   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,397
Re: NMEA output problems

elhix...

Can we see a screen shot of the NMEA debug window (showing RED faults), and your Connections dialog settings?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 11-11-2013, 23:48   #10
Registered User

Join Date: Sep 2009
Boat: Shuttleworth 31
Posts: 70
Re: NMEA output problems

Thanks for the input everyone. I'm currently enroute to Gibraltar but when we arrive - and have internet - I'll get some nmea samples.
elhix is offline   Reply With Quote
Reply

Tags
nmea


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


Advertise Here


All times are GMT -7. The time now is 06:07.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.