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-01-2017, 07:56   #1
Registered User
 
pcmm's Avatar

Join Date: May 2014
Location: Whitby, Canada
Boat: Morgan Out Island 41
Posts: 2,267
Images: 2
RTLSDR AIS openCPN 4.2.0 pluggin

I've installed the plugin for the AIS dongle in OpenCPN and gone through the instructions in the manual, but I don't see where the preferences option is to configure the dongle. It's not listed in the plugins anywhere. where do you configure the RTLSDR ais so that it "knows" where the dongle is? I also tried configuring it directly using the rtl_fm application and when I launch it, it just flashes a dos window but doesn't do anything useful. its this plugin no longer supported?

running on windows 10
pcmm is offline   Reply With Quote
Old 22-01-2017, 15:39   #2
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: RTLSDR AIS openCPN 4.2.0 pluggin

I have limited feedback for the plugin in windows. Not sure if it works.

You should be able to run rtl_fm from a console with the right parameters and record fm audio for example.
seandepagnier is offline   Reply With Quote
Old 22-01-2017, 17:24   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: RTLSDR AIS openCPN 4.2.0 pluggin

pcmm, we'll be very interested in your experience, and hope you succeed!
Please keep us posted with all the details. Thanks.
rgleason is offline   Reply With Quote
Old 22-01-2017, 17:29   #4
Registered User
 
pcmm's Avatar

Join Date: May 2014
Location: Whitby, Canada
Boat: Morgan Out Island 41
Posts: 2,267
Images: 2
Re: RTLSDR AIS openCPN 4.2.0 pluggin

Quote:
Originally Posted by boat_alexandra View Post
I have limited feedback for the plugin in windows. Not sure if it works.

You should be able to run rtl_fm from a console with the right parameters and record fm audio for example.
RTL_FM works from the console, I can "tune" into the frequency and it shows alot of noise on the DOS screen. weird thing is the plugin just doesn't show up at all in OPEN CPN. is there an additional step to get this plugin installed in OpenCPN?
pcmm is offline   Reply With Quote
Old 22-01-2017, 19:43   #5
Registered User
 
pcmm's Avatar

Join Date: May 2014
Location: Whitby, Canada
Boat: Morgan Out Island 41
Posts: 2,267
Images: 2
Re: RTLSDR AIS openCPN 4.2.0 pluggin

I figured it out! the plugin wasn't installing into the correct location ( my fault) now I just need to get out where there are AIS signals to check its operation.
pcmm is offline   Reply With Quote
Old 23-01-2017, 09:02   #6
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: RTLSDR AIS openCPN 4.2.0 pluggin

Please let us know of success. The newer version of the plugin supports rtl_ais which samples both A and B channels. It also can link directly to rtl_ais to avoid invoking an external process. This is surely not tested on windows.

I am also supporting rtlsdr in the weatherfax plugin for hf fax reception. Normally this won't conflict as a separate rtl device can be used for ais vs hffax, but otherwise, ais can be stopped via a plugin message during fax reception.
seandepagnier is offline   Reply With Quote
Old 29-01-2017, 17:14   #7
Registered User

Join Date: Jul 2015
Posts: 26
Re: RTLSDR AIS openCPN 4.2.0 pluggin

I have no success running the plugin. I have OpenCPN 4.4 with the corresponding plugins (RTL-SDR and AIS) on a Windows 7 64bits machine.

When I start OpenCPN I get the following message after a couple of seconds: "rtl_ais.exe has stopped working". The device, a RTL-SDR USB dongle, is not detected.

The error message has these lines:
Fault Module Name: msvcrt.dll
Fault Module Version: 7.0.7601.17744
Fault Module Timestamp: 4eeaf722
Exception Code: c0000005
Exception Offset: 0000ce2a


I reinstalled .NEt (v4.6 I believe) because msvcrt.dll depends on it, without results. Furthermore, there are so many versions of msvcrt.dll to be found on Internet!


The dongle is working as I am able to use it with SDRSharp v1.0.0.1491 (which version, by the way, uses the msvcr100.dll).
P_Walkabout is offline   Reply With Quote
Old 30-01-2017, 06:09   #8
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: RTLSDR AIS openCPN 4.2.0 pluggin

can you get rtl_fm to work from the console? Did you install libusb? I think you need some special dummy driver for windows or something.
seandepagnier is offline   Reply With Quote
Old 02-04-2017, 06:10   #9
Registered User

Join Date: Dec 2014
Posts: 13
Re: RTLSDR AIS openCPN 4.2.0 pluggin

Hi...also having issues...Windows 10
can't run rtl_fm from command prompt

C:\Program Files (x86)\OpenCPN\plugins\rtlsdr_pi\bin>rtl_fm -M wbfm -f 91.7M
Found 1 device(s):
0: ÿåÖ, ï■ ¬ ¿ , SN:

Using device 0: Generic RTL2832U
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
Failed to open rtlsdr device #0.

SDRSharp works...so not sure what the deal is here
ewzachmann is offline   Reply With Quote
Old 02-04-2017, 17:37   #10
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: RTLSDR AIS openCPN 4.2.0 pluggin

I can only suggest to windows users:

1) use sdrsharp for ais, and don't use the plugin
2) modify the plugin to launch sdrsharp automatically and submit a pull request
3) debug the rtl_ais.exe to work in windows
4) use linux instead of windows

Maybe the plugin should not be made available to windows users to avoid confusion?
seandepagnier is offline   Reply With Quote
Old 03-04-2017, 04:24   #11
Registered User

Join Date: Dec 2014
Posts: 13
Re: RTLSDR AIS openCPN 4.2.0 pluggin

Ha, I was getting the usb error because there was another application using the usb port when I tried running rtl_fm. That is fixed and it runs without complaining. I have no idea if the plugin is working or not as I don't live close enough to marine traffic to test it. I wanted to try ads-b or fm radio or wx just to see if any of those work...but I can't enable them. The buttons are greyed out.

I suppose I'd like to test it from the command line. rtl_fm | aisdecoder would I just pipe it? What are the params? Thanks
ewzachmann is offline   Reply With Quote
Old 04-04-2017, 11:56   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: RTLSDR AIS openCPN 4.2.0 pluggin

EwZachmann Suggest you Get on Sean's github repos
In the readme doc.

https://github.com/seandepagnier/rtl.../master/README

If you can get it going and tell Sean (and the other Win users) how you did it you'll be doing us all a favor, and be succeeding 100% over my trials.

Thanks.
rgleason is offline   Reply With Quote
Reply

Tags
ais, enc, opencpn, plug


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
New rtlsdr Plugin seandepagnier OpenCPN 430 22-08-2023 03:33
OpenCPN 4.2 with the Navico Radar pluggin James_Armstrong OpenCPN 15 12-10-2016 01:21
RTLSDR Aart K. OpenCPN 16 21-01-2016 10:43
Pluggin' Holes EchoPilot1975 Construction, Maintenance & Refit 1 25-12-2013 20:49

Advertise Here


All times are GMT -7. The time now is 19:53.


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.