Posts: 12
Threads: 4
Joined: May 2022
Reputation:
0
Im trying to send the following information in nmea 183 format:
- GPS position from Signal K to VHF
- AutoPilot information from OpenCPN to Raymarine ST2000+
I have used the following setup:
Signal K Conection Type NMEA0183, ID nmeaout, Source Serial, Port /dev/ttyOP_nmeaout, Baudrate 4800, Using NMEA0183 to NMEA0183* emiting GGA - Global Positioning System Fix Data
OpenCPN Conection: Type Serial, Direction IN/OUT, Protocol NMEA0183, Port /dev/ttyOP_nmeaout, Baudrate 4800, Transmiting RMB,APB,XTE
When checking for conflicts I get:
Checking serial connections conflicts...
↳There are conflicts between the following serial connections:
OpenCPN -> connection ID: 3 | device: /dev/ttyOP_nmeaout
Signal K -> connection ID: nmeaout | device: /dev/ttyOP_nmeaout
What's wrong with my setup? Should I only transmit from either OpenCPN or Signalk? Not sure if APB is available in Signal K
Can anyone give me some guidance?
Posts: 67
Threads: 7
Joined: Jan 2020
Reputation:
6
I don't have/use OpenCPN but it seems you are using one single serial adapter for both VHF and AP connections. Maybe this is the reason, try to disable SK-VHF connection and check only with the AP.
Anyway, is just a hint, I'm not very sure about this, sorry and good luck!
███ - SV Haimana
Posts: 338
Threads: 34
Joined: Oct 2019
Reputation:
30
(2024-04-29, 11:17 PM)Pantera Wrote: Im trying to send the following information in nmea 183 format:
- GPS position from Signal K to VHF
- AutoPilot information from OpenCPN to Raymarine ST2000+
I have used the following setup:
Signal K Conection Type NMEA0183, ID nmeaout, Source Serial, Port /dev/ttyOP_nmeaout, Baudrate 4800, Using NMEA0183 to NMEA0183* emiting GGA - Global Positioning System Fix Data
OpenCPN Conection: Type Serial, Direction IN/OUT, Protocol NMEA0183, Port /dev/ttyOP_nmeaout, Baudrate 4800, Transmiting RMB,APB,XTE
When checking for conflicts I get:
Checking serial connections conflicts...
↳There are conflicts between the following serial connections:
OpenCPN -> connection ID: 3 | device: /dev/ttyOP_nmeaout
Signal K -> connection ID: nmeaout | device: /dev/ttyOP_nmeaout
What's wrong with my setup? Should I only transmit from either OpenCPN or Signalk? Not sure if APB is available in Signal K
Can anyone give me some guidance? Don't do the serial connection from OCPN, let SignalK handle that. The output from OCPN should be setup as a network connection filtered to only send out RMB, APB, XTE. Then SignalK will forward that data via serial. Like this:
Posts: 12
Threads: 4
Joined: May 2022
Reputation:
0
2024-04-30, 11:20 PM
(This post was last modified: 2024-04-30, 11:21 PM by Pantera.)
(2024-04-30, 04:48 PM)Techstyle Wrote: (2024-04-29, 11:17 PM)Pantera Wrote: Im trying to send the following information in nmea 183 format:
- GPS position from Signal K to VHF
- AutoPilot information from OpenCPN to Raymarine ST2000+
I have used the following setup:
Signal K Conection Type NMEA0183, ID nmeaout, Source Serial, Port /dev/ttyOP_nmeaout, Baudrate 4800, Using NMEA0183 to NMEA0183* emiting GGA - Global Positioning System Fix Data
OpenCPN Conection: Type Serial, Direction IN/OUT, Protocol NMEA0183, Port /dev/ttyOP_nmeaout, Baudrate 4800, Transmiting RMB,APB,XTE
When checking for conflicts I get:
Checking serial connections conflicts...
↳There are conflicts between the following serial connections:
OpenCPN -> connection ID: 3 | device: /dev/ttyOP_nmeaout
Signal K -> connection ID: nmeaout | device: /dev/ttyOP_nmeaout
What's wrong with my setup? Should I only transmit from either OpenCPN or Signalk? Not sure if APB is available in Signal K
Can anyone give me some guidance? Don't do the serial connection from OCPN, let SignalK handle that. The output from OCPN should be setup as a network connection filtered to only send out RMB, APB, XTE. Then SignalK will forward that data via serial. Like this:
Thanks for the advice! Implemented successfully ![Big Grin Big Grin](https://forum.openmarine.net/images/smilies/biggrin.png) . Great youtube channel by the way, I regularly watch your videos!
(2024-04-30, 06:15 AM)sebba Wrote: I don't have/use OpenCPN but it seems you are using one single serial adapter for both VHF and AP connections. Maybe this is the reason, try to disable SK-VHF connection and check only with the AP.
Anyway, is just a hint, I'm not very sure about this, sorry and good luck!
Thanks Sebba, you were right, only one output is allowed. Problem solved!
|