Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-05-2016, 03:29   #1
Registered User
 
NEVERMIND's Avatar

Join Date: Apr 2011
Location: CORSE
Boat: PRIVILEGE 12
Posts: 141
Images: 3
parameter watchdog

Hi,
How to change the time (parameter time out) of watchdog (not the plugin) in opencpn?

jp
Attached Files
File Type: pdf fichier_log(1).pdf (55.4 KB, 31 views)
__________________

__________________
NEVERMIND is offline   Reply With Quote
Old 06-05-2016, 03:50   #2
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: parameter watchdog

GPSDogTimeout=xx
Write such a line in [Settings] section of opencpn.ini

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 06-05-2016, 03:56   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: parameter watchdog

Nevermind, This is too cryptic for us to fully understand. You appear to be asking a question. Perhaps a little more detail and context would help.
Do you want to change the Watchdog Timeout Parameter? What is this, it does not exist.

Watchdog Configuration > Edit Alarm has checkbox
"Repeat Alarm after seconds [60]
Below that is checkbox
"Automatically Reset"

If you wish to get an answer, you will need to be more precise and frame the question properly.
__________________
rgleason is online now   Reply With Quote
Old 06-05-2016, 04:13   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: parameter watchdog

Quote:
GPSDogTimeout=xx
Write such a line in [Settings] section of opencpn.ini
This parameter does not exist in the user manua or under developer manual.
Configuration File | Official OpenCPN Homepage

Is it for MAC? Your version?
__________________
rgleason is online now   Reply With Quote
Old 06-05-2016, 04:21   #5
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: parameter watchdog

rgleason,
if you know nothing why do you answer?
Have a look at the source code in files chart1.cpp, navutil.cpp and others.
Please come back when you have a little knowledge of OpenCPN.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 06-05-2016, 04:22   #6
Registered User
 
NEVERMIND's Avatar

Join Date: Apr 2011
Location: CORSE
Boat: PRIVILEGE 12
Posts: 141
Images: 3
Re: parameter watchdog

Quote:
Originally Posted by rgleason View Post
This parameter does not exist in the user manua or under developer manual.
Configuration File | Official OpenCPN Homepage

Is it for MAC? Your version?
Thanks for the answer.

No, it is for a friend with PC W7 and opencpn 4.2
__________________
NEVERMIND is offline   Reply With Quote
Old 06-05-2016, 04:28   #7
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: parameter watchdog

Quote:
Originally Posted by NEVERMIND View Post
Thanks for the answer.

No, it is for a friend with PC W7 and opencpn 4.2
The default is 6 seconds. With the line mentioned above you can specify any other value.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 06-05-2016, 04:35   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: parameter watchdog

Carcode, the kindest thing I can say is that you lack social skills and I have seen no improvement . I used to consider you a friend.

What does this parameter do precisely please?
I will put it in the User 'Cookbook' (which you find useless and necessary because you expect everyone "to read code").
__________________
rgleason is online now   Reply With Quote
Old 06-05-2016, 04:44   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: parameter watchdog

navutil.cpp
Quote:
Read( _T ( "GPSDogTimeout" ), &gps_watchdog_timeout_ticks, GPS_TIMEOUT_SECONDS );
Does it pop up an alert message or ring an alarm after 6 seconds of no GPS?
__________________
rgleason is online now   Reply With Quote
Old 06-05-2016, 06:13   #10
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: parameter watchdog

Nevermind,

usually it is not needed to increase this timeout because the default of 6 seconds is more than sufficient when normally a GPS device sends each one second (1 Hz) the needed data. Regarding your log file however there might be another reason why there is so much interrupted data received. Please check the used GPS receiver, its driver, its cables and anything else for a good data connection.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 06-05-2016, 12:21   #11
Registered User

Join Date: Dec 2009
Location: Turkey
Boat: Voyage 12.50
Posts: 72
Re: parameter watchdog

CareCode, Hello, and thank you Jean Paul (Nevermind)
We work together on this issue of WatchDog Tiemeout at this link
Pratiques et Techniques de la Plaisance
Plaisance practice includes many sailors interested by OpenCPN. We have written many article and tutorials on OpenCPN
Now arises the problem that we do not know how to solve. I did not find the parameter "GPSDogTimeout = xx" Would you say that we must create in the ini file ???
Otherwise, I agree with you regarding the log file, there might be another reason why there are so many interrupted data received. We check the GPS receiver used for drivers, cables and anything else for a good data connection.
The system on which we work is complex: Garmin 19xx> VHF / AIS Furuno> USB Interface Cable Furuno> OpenCPN 4.2.0
We will work in order, checking the results. And of course we will keep you posted
Sincerely, Michel and all Plaisance Pratique team, and sorry for my poor english !!!!!
__________________
yoruk is offline   Reply With Quote
Old 06-05-2016, 13:17   #12
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: parameter watchdog

yoruk

Je peux parlez francais mais pour ecrire ca me manque un peux. Enfin je suis a Monastir et je doit ecrire aussi...
You can make a line in opencpn.ini below the section [Settings] with:
GPSDogTimeout=10 (for example)
But I don't believe it will help much.
As I wrote already normally the GPS device sends each one second a dataset.
OpenCPN checks for a 6 seconds period before it writes a line in its log file.
So there must be a severe problem regarding your log file with all that lines.
If you have some more informations about
- type of the GPS device
- operating system used
- driver informations about this GPS device
- type of connection (USB, Bluetooth etc.)
I might search a little bit more to find a solution then.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 07-05-2016, 00:25   #13
Registered User

Join Date: Dec 2009
Location: Turkey
Boat: Voyage 12.50
Posts: 72
Re: parameter watchdog

Gerhad thank you
OK, I get to insert the command line "GPSDogTimeout = 10" in the .ini file. I transmits rensignement on the thread of Plaisance Practice.
copy attached: NMEA sentences retrieved by OpenCPN. It is seen that only "$ GPRMC" appears every 10 seconds, as the sequence of "Timeout" displayed in the log file. Other:
O.S: W 7 or more (I do not know)
GPS: Garmin 19x HVS (NMEA 0183), Reference Number: 010-01010-00
Driver: Garmin: GPS 19x HVS (NMEA 0183) Software Update Collection
Connection: USB via http://www.furuno.fr/Multimedia/Noti..._avril2013.pdf
Michel
Attached Thumbnails
Click image for larger version

Name:	phrases_nmea.png
Views:	54
Size:	293.2 KB
ID:	123810  
__________________
yoruk is offline   Reply With Quote
Old 07-05-2016, 02:46   #14
Registered User

Join Date: Oct 2009
Location: Lelystad, The Netherlands
Boat: vd Stadt 44, Ben the Boat
Posts: 195
Re: parameter watchdog

I see a lot of AIS messages and once and a while a GPS message.
I think a lot of (non navigational) traffic over one port


Bart
__________________
champ8242 is offline   Reply With Quote
Old 07-05-2016, 03:53   #15
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: parameter watchdog

yoruk

It seems something is wrong with the USB connection via Furuno.
To receive only RMC is not sufficient. All other GPS sequences would have been eaten on their way.
Sadly I cannot give any hint because I do not own any such devices. Perhaps someone else owning these devices can help you.

The Garmin 19x HVS is even able to send GPS data at 10 HZ, that is sending data 10 times more often than only once a second. So the bottle neck of your installation seems to be the Furuno part.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Reply

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
Link 2000R parameter changes nukahiva Electrical: Batteries, Generators & Solar 4 22-03-2014 13:23
OpenCPN error: Usage, unexpected parameter acwest138 Navigation 1 13-10-2013 09:52
UncleMag Intro - Watchdog for World Cruisers ! UncleMag Meets & Greets 4 03-02-2011 01:47
Florida to Bahamas Watchdog countrybimm Atlantic & the Caribbean 54 20-04-2010 16:50



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


Google+
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.