0 - OpenCPN - Feature Requests

This is the project for all Feature Requests except the ones concerning plugins. Please add this Feature Requests to the respective plugin project - thanks.

FS#528 - NMEA Port setup rewrite

Attached to Project: 0 - OpenCPN - Feature Requests
Opened by Frode Lynum (HotRod) - Tuesday, 14 June 2011, 15:02 GMT-7
Last edited by Dave (bdbcat) - Monday, 03 June 2013, 17:30 GMT-7
Task Type Feature Request
Category Backend / Core
Status Closed
Assigned To Dave (bdbcat)
Operating System All
Severity High
Priority Normal
Reported Version future version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No


The whole layout of setting IO ports should be rewritten.

Make a dedicated tab that contains all IO related settings.
- Add/remove ports of any kind
- Set/change port speed
- Set talker
- Select master port for position, depth, temp, log, time&date, and so on...
Take a look at e.g. MaxSea port settings... Something like that...
or do like Olex (linux), automatic recognition of nmea streams on all ports...
- AND no limits on how many ports you can use.

Also the possibillity to use the NIC for NMEA and NavNet (Furuno) for e.g. MARPA targets...
This task depends upon

Closed by  Dave (bdbcat)
Monday, 03 June 2013, 17:30 GMT-7
Reason for closing:  Implemented
Comment by Andreas Lackner (luke austria) - Monday, 20 June 2011, 03:49 GMT-7
Also think of files (simulation?) and of network (GPSD or PolarCOM - both deliver a plain NMEA-Stream)
And nice to have: possibility to write data out on any port (COM, Socket, even File). Take a look at PolarCOM, this is also a nice solution.
Comment by Frode Lynum (HotRod) - Monday, 04 July 2011, 01:35 GMT-7
We also need a way to select and filter different sentences out to autopilot, such as: APB, RMB...
A way of setting ignore filter of incomming sentences would also come in handy when you have equipment that relays NMEA. Say that the echosounder has GPS in and relay the GPS sentence, this causing OCPN getting position from two units...

I would like to see a I/O interface that can handle as many ports as you want/need... Just add the ones you need.
Comment by Frode Lynum (HotRod) - Monday, 04 July 2011, 01:44 GMT-7
Here are a few pics of MaxSea I/O properties:
Just tought that these would be some good references... This layout works great :)
Comment by Frode Lynum (HotRod) - Wednesday, 03 August 2011, 14:12 GMT-7
A full filter possibillity on individual ports, both on out and input.
Possibillity to select what sentences to accept and which to ignore, maybe a checkbox table to switch these on/off...
Comment by Gilles Penot (SINEDIE) - Saturday, 27 August 2011, 09:41 GMT-7
I use a NMEA2000 network for all instrument except GPS (Furuno GP30) which is NMEA 183. I Use a ACTISENSE converter which transmit GPS Position to NMEA2000. In the other way, all NMEA2000 (except GPS) is converted in NMEA183. So I need two ports one for GPS and an other for Instruments to see them on Dashboard.
Comment by Frode Lynum (HotRod) - Saturday, 27 August 2011, 10:14 GMT-7
It's not possible to use NMEA 2000 directly on a computer, you need a NMEA 2000 to NMEA 183 converter to use it on a computers rs232 or usb port. E.g. Actisence NGW-1 (serial) or NGT-1 (usb).
Comment by Gilles Penot (SINEDIE) - Sunday, 28 August 2011, 00:44 GMT-7
Hello HotRod, sorry for my English, but if you read with attention my comment, I wrote that I use an ACTISENS converter (NGW-1). This converter is used in both way : convert GPS NMEA 183 to NMEA2000 and in the other way convert NMEA2000 to NMEA 183 on the serial imput of a PC (indeed a serial USB cable)
Comment by Frode Lynum (HotRod) - Sunday, 28 August 2011, 12:34 GMT-7
[Gilles Penot wrote:]
I Use a ACTISENSE converter which transmit GPS Position to NMEA2000
[Quote end]
I was not under the impression that you used the converter for the computer, but I see what you mean now.

But with such a rewrite as I have requested, it got to open for limitless amount of IO ports and configurations.
As for now you can use a multiplexer (NDC-4) and a NGW-1 to solve your problem. NMEA2000 input to NGW-1 to Multiplexer and GP30 to Multiplexer. And then Multiplexer to PC on NMEA183 (serial) or USB at 38400bps.
Comment by marc bouchard (TallSailor) - Sunday, 02 October 2011, 22:43 GMT-7
Simple NMEA input from an TCP or UDP stream would be nice
Comment by Frode Lynum (HotRod) - Sunday, 01 January 2012, 03:39 GMT-7
Is this request beeing considered at all?
I'm really hoping that the I/O setup could be rewritten soon.
Comment by Frode Lynum (HotRod) - Sunday, 03 June 2012, 10:31 GMT-7
Just bumping this request as I think it's a thing that should have been looked into way back.
Comment by Gilles Penot (SINEDIE) - Sunday, 03 June 2012, 13:04 GMT-7
We need mulltiport for a lot of reason : first one is that we can have multiple NMEA instrument and that need to have a physical or software multiplexeur. I try software one, it doe'nt work so good. To many sentences on the port make loose some GPS points, even give false GPS point.
Buying physical multiplexeur is a bit electronic more in the boat : it consumme energy, it costs, it is a source of problem : Sailors dont like to have too complex wiring... I think that it would be preferable to have a special port for GPS and others for wind, speed,... Best would that for each sentence we can choose the input port. idem for output NMEA sentence.
I'm sory, I'm not a geek, then perhaps it is too difficult too do it but it would be great!!!!
Comment by Brazil Broketail (brazil) - Monday, 04 June 2012, 00:49 GMT-7
Another example: One port provides AIS with GPS signals, and multiple ports for additional instruments. We need to play with the NMEA data, so that we can say which GPS is the primary GPS, and which one the back-up. Loss of signal from an instrument should give an alarm. Ideally we combine this feature with an NMEA record and play back option, a feature that should expedite coding and testing.