Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 28-12-2020, 13:43   #31
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Quote:
Originally Posted by Odysseus7 View Post
Other Chartplotter Input:
TCP Input 127.0.0.1 Port 10112, as input from NMEA Multiplexer to enable multiple data feeds in one connection
What I was wondering was whether the *other* chartplotter, or indeed something else on the network, is re-broadcasting data on 10110. The debug window shows the additional sentences coming in over the UDP connection.

Ideally it would be nice to see the source address on those incoming data so we can see if they're coming from something else in addition to the source that originally generated them. Do you have wireshark or something installed that could help you look at source address for incoming udp broadcasts on 10110? I'm sadly not a windows users so not best placed to advise on windows built-ins which could help but I'm sure others could.
muttnik is offline   Reply With Quote
Old 28-12-2020, 16:06   #32
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,700
Images: 2
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Thank you muttnik! (this is an interesting puzzle)

Thank you Odyssues7 for your thoroughness and resilience pursuing the problem.

Maybe there is a RUT955 router program running in the background? Like their GPS program which should be turned off?
Maybe the router could be bypassed or eliminated to see if that solves what Muttnik identified? Just a thought.
rgleason is offline   Reply With Quote
Old 29-12-2020, 02:20   #33
Registered User

Join Date: Apr 2020
Posts: 43
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Quote:
Originally Posted by muttnik View Post
What I was wondering was whether the *other* chartplotter, or indeed something else on the network, is re-broadcasting data on 10110. The debug window shows the additional sentences coming in over the UDP connection.
Well there is only one UDP connection on the boat's network; and that is the one from the router to OCPN. The only plausible explanation (if that is even possible, don't know) then is that even though it's an input only connection, OCPN is somehow reflecting the same data back to the router; ad infinitum.

Quote:
Originally Posted by muttnik View Post
Ideally it would be nice to see the source address on those incoming data so we can see if they're coming from something else in addition to the source that originally generated them. Do you have wireshark or something installed that could help you look at source address for incoming udp broadcasts on 10110? I'm sadly not a windows users so not best placed to advise on windows built-ins which could help but I'm sure others could.
I don't know much about networking; but will install, run and see if I can make something out of Wireshark. In order to do away with the necessity to be on the boat while doing this test (which would turn the exercise to chess by post of the olden ages) , I will install this tool to simulate the broadcasting of GNSS data over UDP. If anybody has an advice for a better freeware (or at least free to try), would be appreciated.

http://www.nmeasoft.com/?ckattempt=1

Quote:
Originally Posted by rgleason View Post
Thank you Odyssues7 for your thoroughness and resilience pursuing the problem.
My pleasure, I thank you for your help and support!

Quote:
Originally Posted by rgleason View Post
Maybe there is a RUT955 router program running in the background? Like their GPS program which should be turned off?
Well, the RUT955 is the GPS receiver; there's only a GPS antenna connected via an SMA socket.

The only three distant possibilities to that end could be:

1. Geofencing doing an unintended broadcast, which is very unlikely as it is simply rule based: Define a pivot and radius; and the router sends a signal to the Remote Management System, which triggers the Teltonika RMS app on your mobile to alert, and the Remote System sends an email at the same time. But this is inactive as long as it is within the defined fence.

2. There is a constant stream of GNSS data to the Remote Management System, which seems very unlikely as I did not define any server based alerts but honestly need to check. These days we need to opt out as opposed to opting in But honestly, why should it broadcast over UDP and over the same port, just luck?

Furthermore, there is no GNSS reception on OCPN as long as I turn on the NMEA forwarding stream; which to me proves that there is no autonomous GNSS feed on UDP Port 10110 like the two above.

3. For a bizarre reason that I don't know, I found among the myriad of router services, that Modbus TCP Slave was enabled on Port 10110. Please find enclosed the screenshot. But this is TCP and how can it be relayed back to UDP in the absence of a rule, of which there are none. So this seems implausible to me as well. [/LIST]

Again, thanks a lot.
Attached Thumbnails
Click image for larger version

Name:	2020-12-29 12.42.10 6963d4e9103a4965d3c7a34334adff71.proxy1-connect.rms.teltonika-networks.com 9.jpg
Views:	51
Size:	20.1 KB
ID:	229582  
Odysseus7 is offline   Reply With Quote
Old 29-12-2020, 05:45   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,700
Images: 2
Thumbs up Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Odysseus7


I saw this post where you are using a Noland RS11 Engine Converter with Steve's Engine Dashboard plugin.
Is this also involved in this problem or not? Can't have too many things going on a once.
https://www.cruisersforum.com/forums...ml#post3288917


Which leads me to ask if you have disabled all unnecessary plugins? - Which I think you have done so.
rgleason is offline   Reply With Quote
Old 29-12-2020, 05:55   #35
Registered User

Join Date: Apr 2020
Posts: 43
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Quote:
Originally Posted by rgleason View Post
Odysseus7


I saw this post where you are using a Noland RS11 Engine Converter with Steve's plugin.
Is this also involved in this problem or not? Can't have too many things going on a once.
https://www.cruisersforum.com/forums...ml#post3288917
No it's not involved in the problem; I'm not using that plugin. Furthermore, tested the system with and without the RS11 running. It has a serial usb connection to its own client on the pc, and utilizes a custom coding that is neither NMEA0183 nor NMEA2000 in that connection. The RS11 has a proper NMEA2000 output but I don't have or need an NMEA2000 network; at least for now.

Quote:
Originally Posted by rgleason View Post
Odysseus7
Which leads me to ask if you have disabled all unnecessary plugins? - Which I think you have done so.
I sure did, I'm running as lean as I can now.
Odysseus7 is offline   Reply With Quote
Old 29-12-2020, 07:16   #36
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,700
Images: 2
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Quote:
Originally Posted by Odysseus7 View Post
No it's not involved in the problem; I'm not using that plugin. Furthermore, tested the system with and without the RS11 running. It has a serial usb connection to its own client on the pc, and utilizes a custom coding that is neither NMEA0183 nor NMEA2000 in that connection. The RS11 has a proper NMEA2000 output but I don't have or need an NMEA2000 network; at least for now.

I sure did, I'm running as lean as I can now.

Thanks.

Simple is good, but sometime you could use to Nmea2000 and convert the PGN to signalK and then use Steve's Engine Data Plugin to display, but that is all for another time, maybe. Simple is good.
rgleason is offline   Reply With Quote
Old 06-01-2021, 07:09   #37
Registered User

Join Date: Apr 2020
Posts: 43
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

I don't mean to resurrect a dead thread but I feel it would be great if I shared this app, which is Windows Store certified and free. With this you can bench-test a UDP broadcast of GNSS sentences.

https://www.microsoft.com/store/productId/9PGRXJ5KLD5Q

On a final note, a non-solution report. I couldn't get rid of the loop problem however much I tried. When I bench tested at home, with another PC broadcasting these sentences, there was no problem and OCPN ran at about 5% of the CPU. However, on the boat it's still around 25%. I pretty much gave up on the router-linked GPS and all's good now

All the best.
Odysseus7 is offline   Reply With Quote
Old 06-01-2021, 11:16   #38
Moo
Registered User

Join Date: Mar 2017
Posts: 804
Re: Will disabled plugings still make OCPN "fatter & slower"? & how to fully remove t

Why not use TCP instead of UDP broadcast in such a simple network? Don't use UDP unless you absolutely have to as data can be lost.
Moo is offline   Reply With Quote
Reply

Tags
network, nmea 0183, plugin


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
Data visualization in OCPN and in OCPN-Draw 58gschol OpenCPN 3 21-02-2019 14:25
Need oCPN binary dependancies for Win 7 / vs2010 / wxLib 3.0.3 / oCPN 4.6.1 build... evendine OpenCPN 5 04-03-2018 05:05
OCPN 4.8.2 Status bar 0.6 : Preference kills OCPN! Didier B OpenCPN 15 12-02-2018 02:05
Handrails - remove them all together or keep them? Danibug Construction, Maintenance & Refit 55 23-07-2013 19:50
Dreams - make them good and make them big. anjou Construction, Maintenance & Refit 53 15-04-2012 11:46

Advertise Here


All times are GMT -7. The time now is 08:31.


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.