Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-03-2017, 01:09   #1
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 282
VDR plugin

I would like use the recording function of VDR as stand alone program on my raspi without having to install all of ocpn.

Has that been done already or is programming effort neccessary?
I guess the interface settings could be set in an ini file.

Thanks for guidance.
skipperearly is offline   Reply With Quote
Old 06-03-2017, 04:03   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: VDR plugin

No and it won't ever be done as there are tons of other tools to do what you need. If you tell us if your data come over a serial connection or a network, we will even be able to tell you how to do it...
nohal is offline   Reply With Quote
Old 06-03-2017, 23:50   #3
Registered User

Join Date: Feb 2012
Location: Austria
Posts: 282
Re: VDR plugin

data come mostly over USB into the
rpi which runs openplotter. rpi is configured as accesspoint and NMEA sentences are available on wlan for pc,ipad,mobile phones etc.
I could of course use ocpn on rpi and just switch on vdr but This requires vnc or some other means.
I was aiming to have a hardware switch to start/stop a program like vdr. Maybe even trigger recording by some sensor-events.

there may be other programs doing just recording nmea streams but wanted to have the data in the format already ready for opcn/vdr to read.

hope that explains better what I seek.

thanks for any guidance
skipperearly is offline   Reply With Quote
Old 07-03-2017, 05:51   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: VDR plugin

OpenCPN/VDR has no "format", what it saves is simply a text file with the NMEA stream, so it really does not matter if you create it with some other tool.
For example this is what I use when I need to record my AIS data stream from UDP port 10110:

Code:
ncat 192.168.1.36 -u -l 10110 -o mydata.txt
Using ncat (from the nmap package), but you can of course use nc or netcat or whatever is now available on Raspbian.
You can trigger this with anything you want and kill it whenever you want.

In case you want to save the data coming from the serial ports (Which is not a good idea), you can do it with something as simple as
Code:
cat /dev/ttyUSB0 > mydata.txt
Pavel
nohal is offline   Reply With Quote
Reply

Tags
plug

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 121 10-07-2019 07:58
Plugin for Current Speed and Direction (Set and Drift, or VDR) TBillings OpenCPN 2 26-10-2017 12:34
Plugin for Current Speed and Direction (Set and Drift, or VDR) TBillings OpenCPN 17 25-05-2016 01:35
AIS Simulation - Run VDR to play AIS Nmea file rgleason OpenCPN 16 12-01-2013 11:28
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 01:43.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.