Cruisers Forum
 


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 22-02-2024, 12:09   #1
Registered User

Join Date: May 2023
Posts: 52
Plugin VDR not recording

I am wrking on a fresh install of OpenPlotter on a raspberyy pi 4B. I have data coming from sensors through an Actisense NGT-1. The signal is translated from NMEA 2000 to Signal K and then through a Networkwork connection reading Signal K data to OpenCPN. Everything works and I can see the instrument readings but when I try to use the Plugin VDR (voyage data recorder) all I get is an empty txt file.

Why? What am I missing?

Do I need to send data in NMEA 0183 format from Signal K to OpenCPN? I am a bit lost here.
J.Hernandez is offline   Reply With Quote
Old 22-02-2024, 13:38   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,151
Re: Plugin VDR not recording

Quote:
Originally Posted by J.Hernandez View Post
Do I need to send data in NMEA 0183 format from Signal K to OpenCPN? I am a bit lost here.
OpenCPN itself can handle NMEA2000 but, correct, VDR can record NMEA 0183 only. Not NMEA 2000 PGNs.
Hakan is offline   Reply With Quote
Old 22-02-2024, 13:55   #3
Registered User

Join Date: May 2023
Posts: 52
Re: Plugin VDR not recording

Thank you for confirming that. How do I go about this? Do I create a Signal K to NMEA0183 output with the plugin. I am not clear how to get OpenCPN to receive that data. By default OpenCPN only receives Signal K formatted data.

My end point here is to have data to develop polars for my boat.
J.Hernandez is offline   Reply With Quote
Old 22-02-2024, 16:21   #4
Registered User

Join Date: Mar 2011
Posts: 651
Re: Plugin VDR not recording

Quote:
Do I need to send data in NMEA 0183 format from Signal K to OpenCPN?
Yes, as answered previously by Hakan.

Quote:
How do I go about this? Do I create a Signal K to NMEA0183 output with the plugin.
I honestly don't know why Rick and many others bother writing manuals when no one ever reads them.
stevead is offline   Reply With Quote
Old 22-02-2024, 22:28   #5
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,151
Re: Plugin VDR not recording

Quote:
Originally Posted by J.Hernandez View Post
Thank you for confirming that. How do I go about this? Do I create a Signal K to NMEA0183 output with the plugin. I am not clear how to get OpenCPN to receive that data. By default OpenCPN only receives Signal K formatted data.
I think you have setup, or used default, Type: Signalk and Port 3000?
Disable that and make a new connection:
Type: Network, Network protocol; TCP, Data protokol: NMEA 0183, Address: The same as for SignalK, Port: 10110.
Hakan is offline   Reply With Quote
Old 23-02-2024, 00:05   #6
Registered User

Join Date: May 2023
Posts: 52
Re: Plugin VDR not recording

Thank you!

I tried and I see that my problem is different. The data from the sensors that I need to supply to OpenCPN in NMEA0183 format for VDR to receive it, it's NOT in signal K data format. Actisense sends that data in NMEA 2000 format. So I guess I need to convert NMEA 2K to NMEA 0183. I can't find a plugin to do that. I'm still stuck.
J.Hernandez is offline   Reply With Quote
Old 23-02-2024, 00:49   #7
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,151
Re: Plugin VDR not recording

If you've the Actisense connected to the Signal K server it will be converted to SignalK format. From there you can check the Signal K plugin "Covert from SignalK to N0183" and then receive all via N0183 to OCPN.
Hakan is offline   Reply With Quote
Old 23-02-2024, 01:03   #8
Registered User

Join Date: May 2023
Posts: 52
Re: Plugin VDR not recording

Quote:
Originally Posted by stevead View Post
Yes, as answered previously by Hakan.

I honestly don't know why Rick and many others bother writing manuals when no one ever reads them.
Thank you. I'm going to read this further and see if I can get it going.
J.Hernandez is offline   Reply With Quote
Old 23-02-2024, 09:38   #9
Registered User

Join Date: May 2023
Posts: 52
Re: Plugin VDR not recording

Update.

I read the instructions in the manual and follow them but in the end if I turn off the OpenCPN Signal K 3000 connection I loose data from my instruments. I tried to restore the previous settings and unfortunately now I can only get partial data from my instruments. Not sure what happened.

I also tried to do what Hakan recomended and enabled the "Convert SK to N0183 plugin and selected which data to pass through there. Then on OpenCPN I disbaled the SK 3000 connection and started a TCP Network connection at port 10110. I get not readings from the instruments that way.
J.Hernandez is offline   Reply With Quote
Old 23-02-2024, 12:26   #10
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,151
Re: Plugin VDR not recording

I tried that SK plugin and got it to work.
On SK in the plugin configuration I selected one 0183 sentence: HDM, since corresponding SK path is available. I set the time to 1000 ms. (time 0 = never I suppose)
Then in OCPN I created a Network TCP connection address 192.168.1.154 port 10110. (192.168.1.154 is the IP address of my PC where I also have the SK server.
And HDM is received viewing the NMEA Debug window so that will available for plugin VDR.

Note: No need to disable the SignalK connection. Both can live together. If data for the same sensor is received from both SK and N0183, SK will be prioritized by Dashboard. (No "jumping")
Hakan is offline   Reply With Quote
Old 23-02-2024, 22:16   #11
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 287
Re: Plugin VDR not recording

Quote:
Originally Posted by J.Hernandez View Post
Thank you!
So I guess I need to convert NMEA 2K to NMEA 0183. I can't find a plugin to do that. I'm still stuck.
The JavaScript plugin forthcoming v3 can decode NMEA 2k and you could generate the equivalent NMEA0183 sentences. It’s available in the beta repository now. Updated User manual in GitHub.
Actually, a script could write the NMEA0183 sentences to file directly without sending them out, bypassing VDR and saving complications from sending data out again.
I am minded to write such a script myself when I have time.
Antipole is offline   Reply With Quote
Old 23-02-2024, 23:13   #12
Registered User

Join Date: May 2023
Posts: 52
Re: Plugin VDR not recording

Quote:
Originally Posted by Antipole View Post
The JavaScript plugin forthcoming v3 can decode NMEA 2k and you could generate the equivalent NMEA0183 sentences. It’s available in the beta repository now. Updated User manual in GitHub.
Actually, a script could write the NMEA0183 sentences to file directly without sending them out, bypassing VDR and saving complications from sending data out again.
I am minded to write such a script myself when I have time.
I would love that script. I tried Hakan suggestion to change the 0 to 1000 ms and I get nothing. Still stuck.
J.Hernandez is offline   Reply With Quote
Old 23-02-2024, 23:17   #13
Registered User

Join Date: May 2023
Posts: 52
Re: Plugin VDR not recording

I f I create a new serial (not network) connection in OpenCPN to receive the data from the Actisense then I can see data (wind and depth) coming in the NMEA debug window but OpenCPN becomes unstable and closes up unexpectedly after a while. But those are NMEA2000 format.
J.Hernandez is offline   Reply With Quote
Old 24-02-2024, 00:48   #14
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,151
Re: Plugin VDR not recording

For Signalk you've to check for correct address and port.


I don't have a Actisense but a YD. There I can use NMEA0183 instead of NMEA200 for the serial connection. You could try the same for your device?
(You may have to close and restart O after switching to N0183 to be sure Actisense understand and change protocol)
Hakan is offline   Reply With Quote
Old 24-02-2024, 02:53   #15
Registered User

Join Date: Mar 2011
Posts: 651
Re: Plugin VDR not recording

Quote:
So I guess I need to convert NMEA 2K to NMEA 0183.
Yes, as has already been stated before, the VDR plugin only records NMEA 0183 data.

Since you're using SignalK Server it is capable of performing the conversion to NMEA 0183.

By default SignalK Server outputs NMEA 0183 over TCP, or with an optional SignalK Server plugin, can output NMEA 0183 over UDP. Clearly you have misconfigured either the SignalK Server NMEA 0183 over TCP or NMEA 013 over UDP settings and/or have not configured the matching settings in OpenCPN.

It does work and it's not rocket science. You do not need any other OpenCPN plugins to make this work.
stevead is offline   Reply With Quote
Reply

Tags
plug, plugin, record


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
VDR Plugin SethDart OpenCPN 156 18-04-2024 07:01
Plugin for Current Speed and Direction (Set and Drift, or VDR) TBillings OpenCPN 2 26-10-2017 12:34
VDR plugin skipperearly OpenCPN 3 07-03-2017 04:51
Plugin for Current Speed and Direction (Set and Drift, or VDR) TBillings OpenCPN 17 25-05-2016 01:35
mistakes about the VDR plugin v0.3 in website xiurong OpenCPN 1 06-08-2012 13:14

Advertise Here


All times are GMT -7. The time now is 09:17.


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.