This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Output from ocpn to N2K
#1
Hello,
I'm setting up a N2K network to work with OP/OCPN. I manage to get data from the network (Garmin transducers via Actisense NGT-1) to OCPN. I want to use the Garmin GNX20 to show data for an active route and possibly also have my Simrad TP32 to steer via SIMNET/N2K.
I see data flowing out from OCPN on the output UDP connection. I can also see corresponding data on the OP system port NMEA0183. How do I bring this data on to the N2K bus?
Tried to install signalk plugin signalk-nmea2000 from signalk admin. 
Now OP refuse to start, I get the message "SignalK doesn't work! Openplotter will exit because it wasn't able to start SignalK"
Restarting the system doesn't help. 
I get messages as below when I try to start OP in terminal.
Any help would be greatly appreciated!
Bestr regards,
Pär W

Signal K starting
/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/lib/fromPgn.js:289
      const { data, direction, error, ...pgn } = parseYDRAW(pgn_data)
                                      ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/index.js:20:12)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
Signal K starting
[Errno 111] Connection refused
/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/lib/fromPgn.js:289
      const { data, direction, error, ...pgn } = parseYDRAW(pgn_data)
                                      ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/pi/.config/signalk-server-node/node_modules/@canboat/canboatjs/index.js:20:12)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
[Errno 111] Connection refused
Reply


Messages In This Thread
Output from ocpn to N2K - by Celestine - 2019-11-02, 04:44 PM
Output from ocpn to N2K - by tkurki - 2019-11-03, 08:07 AM
RE: Output from ocpn to N2K - by Celestine - 2019-11-03, 12:02 PM
RE: Output from ocpn to N2K - by tkurki - 2019-11-03, 08:09 PM
RE: Output from ocpn to N2K - by Celestine - 2019-11-04, 10:46 AM
RE: Output from ocpn to N2K - by Celestine - 2019-11-16, 06:05 PM
RE: Output from ocpn to N2K - by jim321 - 2019-11-04, 01:02 PM
RE: Output from ocpn to N2K - by Celestine - 2019-11-17, 08:23 PM
RE: Output from ocpn to N2K - by verkerkbr - 2019-12-16, 11:31 AM
RE: Output from ocpn to N2K - by Celestine - 2019-12-19, 04:22 PM
RE: Output from ocpn to N2K - by verkerkbr - 2019-12-19, 04:56 PM
RE: Output from ocpn to N2K - by Celestine - 2019-12-19, 05:29 PM
RE: Output from ocpn to N2K - by verkerkbr - 2019-12-20, 12:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)