2021-06-07, 04:59 PM
(2021-06-07, 03:56 PM)SCarns Wrote: Ahhh, now I see what you are trying to do... and the answer is, it's complicated.In fact I want to route the position (RMC) to a VHF (NMEA interface), and the pilot control (APB, XTE) to a Pilot NMEA interface.
You'll need to set up a new connection in "Data Connections" to receive data FROM OpenCPN. Set it to put output into NMEA0183output to insert that data into the NMEA0183 data stream. How does your 0183 autopilot connect to SignalK? Same as your VHF?
For the VHF, go back into your configuration in nmea0183-to-nmea0183 and your vhf out setting and turn on RMC. Once OpenCPN starts sending that, that event will update the radio.
Steve
1st in opencpn, I created 2 outgoing UDP connections with the proper sentences : OUT1 to Pilot, UDP 10116, and OUT 2 to VHF, UDP 10118 ;
In the in nmea0183-to-nmea0183 plugin I also selected the proper NMEA sentences attached to 2 newly created output events (for both pilot and VHF ) ;
Then in Signal K, I created 2 connections : to the UDP 10116 to (the RS422 USB device linking) the Pilots' output event, and to UDP 10118 to the RS422 USB device linking the) VHF's output event 's ;
I selected the port numbers (10116 & 10118) with a blindfold, and by pure luck it is working, so far !
I would feel much more relax if a skilled person could bless this choice (in UDP port numbers) or adversely advise me which numbers should I use !
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN 5.8.4 : Thank you Thank you Thank you
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN 5.8.4 : Thank you Thank you Thank you