Cruisers Forum

Join CruisersForum Today

Thread Tools Rate Thread Display Modes
Old 06-10-2016, 08:23   #1
Registered User

Join Date: Jul 2016
Posts: 5
send NMEA with plugin

Dear Community,

I've been developing a simple pluign, which receives NMEA data, displays these and should be able to send some other data over the same serial port back.

I am using VS2013 on a Windows 7. OpenCPN Version is 4.4.0. OpenCPN Plugin version I am using is ocpn_plugin_19.

Now, with the first part I didnt have much problems. At least it is working now

The second part, sending NMEA data over the same serial port, seems to be somewhat more complicated.

I've come untill

But as far I get the information in the NMEA Debug window this only sends the string to a virtual NMEA Port.

I've tried google and used the search in this forum about this topic, but I haven't found anything useful.

The question I have is:
How do I get the plugin to send data over the serial port and not only to the virtual port? Is there an easy way? Something like PushNMEABuffer

Thanks in advance for your help. If you need any fruther informations to give me a solution, I would be glad to give you what ever it is :-)

Kind regards
n.ei is offline   Reply With Quote
Old 06-10-2016, 11:08   #2
Registered User
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 289
Re: send NMEA with plugin

The debug window is telling you that the sentence is coming from a virtual port.
Just make sure the port settings in your connections tab do send this particular sentece, and it will be send.
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 07-10-2016, 04:01   #3
Registered User

Join Date: Jul 2016
Posts: 5
Re: send NMEA with plugin

Ok, thanks.

That was all. I tried that but wasn't able to suppress the repeater output.

I had to add to the IDs which shouldn't be sent, all the incoming IDs and now it works just fine.

Finally, I got it all the way I want it.

Thanks so far.
n.ei is offline   Reply With Quote

nmea, plug

Thread Tools
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
NMEA plugin for 4.4? TheOffice OpenCPN 31 15-08-2016 12:49
Using "Send to GPS" to send via IP? jim326 OpenCPN 10 30-03-2016 17:41
For Sale: Comar NMEA-2-WIFI NMEA 0183 Converter $230 4arch Classifieds Archive 1 02-11-2015 03:02
Grib plugin for Mac - Write and Send Email Config SeattleSail OpenCPN 7 02-09-2015 06:05
Multiplexing NMEA on a router (NMEA over WiFi redux) Mollymawk Marine Electronics 16 21-10-2014 05:18

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 20:07.

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.