Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-06-2023, 08:49   #1
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 311
NMEA 2000 support in JavaScript plugin

Next winter when I am ashore again, I would like to look at adding N2K support into the JS plug-in. This could allow decoding and handling those N2K messages not supported by OCPN (rightly) because they are not part of OCPN’s functionality.

I do not have N2K functionality at home, so I will need the following:

1) Samples of N2K data for a variety of PGNs together with what they decode to
2) A volunteer or two to test my efforts

For samples of N2K data, I think we need something equivalent to VDR to capture data. I am aware that this data is binary, so it might need to translate the data into a character format? Has anyone got something like this?

Any advice or suggestions, please.
Antipole is offline   Reply With Quote
Old 18-06-2023, 10:42   #2
Registered User

Join Date: Apr 2015
Location: Norfolk, UK
Posts: 68
Re: NMEA 2000 support in JavaScript plugin

I think you will find most of what you need, including samples, here:
https://github.com/canboat/canboat


Happy to help when the time comes
duichan is offline   Reply With Quote
Old 18-06-2023, 23:11   #3
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 155
Re: NMEA 2000 support in JavaScript plugin

Dear Antipole,

I can provide you with files generated by can dump. They can be replayed into OpenCPN via can player. Well, on a Pi.

I will send you a PM with a link to the corresponding folder on DropBox.

BTW: is there a script to generate PWM signals on a pi?

Best,

Manfred
Aldebaran17 is offline   Reply With Quote
Old 20-06-2023, 12:04   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,700
Images: 2
Re: NMEA 2000 support in JavaScript plugin

https://github.com/canboat/canboatjs
rgleason is offline   Reply With Quote
Reply

Tags
nmea, nmea 2000, plug, plugin


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
JavaScript Plugin V2 Thread (after 25 Jan 23) Pete7 OpenCPN 19 09-06-2024 04:59
JavaScript Plugin Antipole OpenCPN 75 26-01-2023 06:47
JavaScript Plugin for OpenCPN? Antipole OpenCPN 2 16-02-2022 06:44
NMEA 2000 support mgrouch OpenCPN 6 08-11-2021 08:01
Raymarine NMEA 2000 -> NMEA 2000 cable GreenHeaven Marine Electronics 5 24-08-2021 03:52

Advertise Here


All times are GMT -7. The time now is 10:23.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.