Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 25-03-2017, 12:54   #1
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
NMEA multiplex debug

I'm trying to output nmea RMC to a DSC vhf radio, using opencpn's multiplexing but the output seems to be corrupted - see attached screen shoot. In the settings, there is only checked for "forward RMC" - nothing else"

The gps is connected to a 4 port serial to ip nmea converter (transas) and runs at 115200, the plotter with opencpn 4.4 gets the nmea feed from the gps over tcp 10.8.1.10:50000 and works as expected. also the system gets AIS input form a serial ais at 38400 connected to converter and feeds the system with ais 10.8.1.10:50003 - works great ( turned off during trouble shooting so not seen in the debug window)

from the sentences seen in debug, I can see that the GNRMC is forwarded ( the gps is digitalyatch dualnav serial gps) The radiio is from 2004 and might have a problem with the GN prefix so tips on how to rewrite to GP rmc or only rmc would be fine.

Eveen if I disconnec the serial plug to the radio, the message is corrupted so it seems that the error is a internal opencpn error.
Attached Thumbnails
Click image for larger version

Name:	nmea-debug.jpg
Views:	92
Size:	342.7 KB
ID:	143912  
petter5 is offline   Reply With Quote
Old 25-03-2017, 16:41   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,196
Re: NMEA multiplex debug

Petter...

First guess is that no-one is listening for TCP connection on port 10.8.1.10:50001. So the TCP/IP transmitter in OCPN reports error, no connection.

Who is port 50001, anyway?

Dave
bdbcat is offline   Reply With Quote
Old 25-03-2017, 17:12   #3
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: NMEA multiplex debug

port 50001 is serial port two on the 4 port rj45 to serial server. The ports has address 10.8.1.10:50000 10.8.1.10:50001 10.8.1.10:50002 and 10.8.1.10:50003

Port 50000 is in connected to the gps and works correct, port 50003 is connected to AIS and works correct, trying to get the output to the DSC VHF, no success.

The VHF is rs232 4800 baud and the DSC position function works fine when connecting a rs232 gps directly. I'm trying to get opencpn to provide RMC feed for the DSC over port2 (50001) function to avoid having two GPS units.

The serial server serial port two (50001) is configured RS232 4800 baud.
Quote:
Originally Posted by bdbcat View Post
Petter...

First guess is that no-one is listening for TCP connection on port 10.8.1.10:50001. So the TCP/IP transmitter in OCPN reports error, no connection.

Who is port 50001, anyway?

Dave
petter5 is offline   Reply With Quote
Old 25-03-2017, 18:27   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,196
Re: NMEA multiplex debug

Petter5...

I see.

Your config is not too unusual in any respect. OCPN does this function just fine for me every day. It is how I feed my mobile devices onboard.

The issue the OCPN is reporting by the red line in the NMEA debug screen is that there is no valid TCP/IP connection to port 50001. Nobody is answering the phone. The content of the message is not relevant to the error report. Maybe Port 2 is not set up for input from the PC ?

Anyway, to diagnose this, get and install Wireshark, a PC based TCP/IP sniffer. This will show you all the traffic in and out of your PC.

Dave
bdbcat is offline   Reply With Quote
Old 26-03-2017, 12:25   #5
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: NMEA multiplex debug

I got away with the "red" debug window message - it was a broken wire in the connector. Still I have a small problem. Using a Digital yatch dualnav GPS in full "turbo" mode at 115200 baud with Glonass +GPS satellites, it seems that I get GNRMC sentences but no GPRMC. To feed position data to the 2004 model DSV VHF radio, it seems that this radio require GPRMC and does not understand GLRMC. I'm trying to understand if it is possible to get the "output as nmea repeater" to rewrite GNRMC to GPRMC so the old VHF will display position.
petter5 is offline   Reply With Quote
Old 26-03-2017, 15:22   #6
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,196
Re: NMEA multiplex debug

Petter5...

Modifying the transmit TALKER name on-the-fly is not supported by the OCPN NMEA multiplexer.

Sorry
Dave
bdbcat is offline   Reply With Quote
Old 26-03-2017, 16:01   #7
Registered User

Join Date: Jun 2013
Location: canada
Posts: 3,232
Re: NMEA multiplex debug

Why are you feeding into the pc and and back out to vhf? Then the pc must be on, and more things to fail .just tap into the serial gps feed before the multiplexer and feed direct from gps to vhf.

Are you sure you want rmc? Not really used any more. Gll and gga is more common
smac999 is offline   Reply With Quote
Reply

Tags
nmea

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
NMEA Debug Window. hasse_A OpenCPN 5 20-01-2017 03:13
NMEA multiplex - output position to VHF petter5 OpenCPN 2 07-06-2016 05:26
NMEA debug window : changing NMEA datasource pegase22003 OpenCPN 6 29-02-2016 11:44
NMEA debug window pause button petter5 OpenCPN 1 21-12-2015 15:53
Shipmodul Multiplex-2 USB working under Ubuntu 13.10 mub OpenCPN 1 19-04-2014 18:16

Advertise Here


All times are GMT -7. The time now is 00:25.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.