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 27-12-2021, 05:32   #1
Registered User

Join Date: Apr 2018
Posts: 3
Create VDR text file

Hi guys, I primarily use openCPN and the AIS function at home to monitor ships in my area but since I have no real GPS input I do not get the range to AIS targets. I understand I can" simulate" my current GPS position and thereby get the requested range to AIS targets by sending an NMEA string as a textfile via the VDR plugin, However, I have not found any info on how to write such a file. My position is Lat 57,59662 North and Long 11,94363 East. Can anyone please include this in a text string file that the VDR plugin can read? Much appreciated BR Goran
Heida is offline   Reply With Quote
Old 27-12-2021, 07:15   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Create VDR text file

You are on the right track. You will have to do some of your own coding in Nmea0183

In the OpenCPN Manual under Advanced, find NMEA0183 and scroll down to GLL Sentence

https://opencpn.org/wiki/dokuwiki/do...tude_longitude

Looking at that, perhaps Eric Raymond's website is better
https://gpsd.gitlab.io/gpsd/NMEA.htm...itudelongitude
Example: $GNGLL,4404.14012,N,12118.85993,W,001037.00,A,A*67
Quote:
$--GLL,ddmm.mm,a,dddmm.mm,a,hhmmss.ss,a,m*hh
$--GLL,ddmm.mm(Latitiude),N(orS),dddmm.mm(Longitude), E(orW),hhmmss.ss(UTC),A,m*hh(Checksum)

Once you have the sentence worked out, you will need to get the right checksum at the end or OpenCPN will reject it. Use one of the checksum calculators listed
rgleason is offline   Reply With Quote
Old 27-12-2021, 09:17   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: Create VDR text file

Hej Heida...
Print a copy of this string in between your VDM messages so often it will be replayed ones every second or so when you have the replay rate at about 10-15%. No problem if you copy to much of them. If you get it to seldom the position will be lost now and then. If so just print in more.



$GPGLL,5735.797,N,01156.617,E,123000.00,A,A*67


A big lake in Skintebo??
Good luck
Håkan
Hakan is offline   Reply With Quote
Old 27-12-2021, 11:39   #4
Registered User

Join Date: Apr 2018
Posts: 3
Smile Re: Create VDR text file

Hi and many thanks , used the string I got from Hakan below and pasted it in a .txt documen in a separate folder among my charts and...wow it works!!
Heida is offline   Reply With Quote
Reply


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 Log file JohnGC OpenCPN 8 11-04-2021 16:39
playback VDR from recorded file skipperearly OpenCPN 34 13-09-2018 05:18
SENC file create makes OpenCPN almost unusable pcmm OpenCPN 27 21-12-2014 07:41
AIS Simulation - Run VDR to play AIS Nmea file rgleason OpenCPN 16 12-01-2013 10:28
Create A Gpx File From Celestial Navigation Data? sdowney717 OpenCPN 10 23-10-2012 23:31

Advertise Here


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


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.