Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-06-2018, 02:16   #1
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: Fisher 34
Posts: 127
Images: 3
Other sentences in nmea

Hi,

During offshore testing of arduino-based connections, opencpn closed several times.
Nothing serious since I was in test.

On the other hand, what was annoying was that I had to add to each restart the nmea sentences that are not originally planned in O, such as MDA, DBT, RPM, etc.

Would it be possible to add *once and for all* these sentences nmea in opencpn, so that even if it closes accidentally, these sentences nmea remain in memory.
__________________

Schnapsy is offline   Reply With Quote
Old 06-06-2018, 03:48   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: Other sentences in nmea

Quote:
Originally Posted by Schnapsy View Post
Hi,

During offshore testing of arduino-based connections, opencpn closed several times.
Nothing serious since I was in test.

On the other hand, what was annoying was that I had to add to each restart the nmea sentences that are not originally planned in O, such as MDA, DBT, RPM, etc.

Would it be possible to add *once and for all* these sentences nmea in opencpn, so that even if it closes accidentally, these sentences nmea remain in memory.
Add where? What you are trying to say that you setting changes were not saved when the application crashed?
__________________

nohal is offline   Reply With Quote
Old 06-06-2018, 04:24   #3
Registered User

Join Date: Jan 2011
Location: UK/France
Boat: Gib'Sea 402
Posts: 393
Re: Other sentences in nmea

Does Ocpn only write the .ini file on shut-down? If so, maybe it could write it when OKing the tools tab as well, for instance? Thus solving the OP's problem.
hoolie is offline   Reply With Quote
Old 06-06-2018, 04:25   #4
Registered User

Join Date: Jun 2015
Posts: 371
Re: Other sentences in nmea

Why did it crash?

Could you get a stack backtrace?
did-g is offline   Reply With Quote
Old 06-06-2018, 04:37   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: Other sentences in nmea

Quote:
Originally Posted by hoolie View Post
Does Ocpn only write the .ini file on shut-down?
No.
Quote:
If so, maybe it could write it when OKing the tools tab as well, for instance? Thus solving the OP's problem.
This is what it currently does.
nohal is offline   Reply With Quote
Old 06-06-2018, 04:49   #6
Registered User

Join Date: Jan 2011
Location: UK/France
Boat: Gib'Sea 402
Posts: 393
Re: Other sentences in nmea

Quote:
Originally Posted by nohal View Post
No.

This is what it currently does.
Thanks Pavel! Certainly makes sense.
hoolie is offline   Reply With Quote
Old 06-06-2018, 06:51   #7
Registered User
 
Schnapsy's Avatar

Join Date: Jan 2018
Location: Dunkirk, France
Boat: Fisher 34
Posts: 127
Images: 3
Re: Other sentences in nmea

Quote:
Originally Posted by nohal View Post
Add where? What you are trying to say that you setting changes were not saved when the application crashed?

Sorry if my explanations are not clear.
I was navigating and testing arduino-based sensors that send specific NMEA sentences. In the same way, my Furuno sounder sends a nmea phrase in DBT and not in DPT.
When I set the connection COM port for the first time, I have to add to the sentences recognized by O, the additional sentences that I intend to send to him. (see picture)

This WE, during this navigation, the computer (win10) has closed several times (blue screen). This is not related to O, but to a power supply problem in 12 / 19V, I think.
However, after 3 or 4 sudden closures of the PC, O has not returned to its usual configuration: I had the greeting that we have the first time at the installation, no card was enforced and I had to add again the main settings and all specific sentences nmea.

To avoid this in future tests, if I save apart a copy of the config.ini (with all data well reported) and I have again after several crashes, a blank opencpn, by sticking this copy of the config.ini, can I get an opencpn with the data well declared as before the crash ?
Attached Thumbnails
Click image for larger version

Name:	11_filtering.png
Views:	31
Size:	12.5 KB
ID:	171163   Click image for larger version

Name:	13_sentence-filters1.png
Views:	30
Size:	22.8 KB
ID:	171164  

Schnapsy is offline   Reply With Quote
Old 06-06-2018, 08:35   #8
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,228
Re: Other sentences in nmea

Quote:
Originally Posted by Schnapsy View Post
Sorry if my explanations are not clear.
I was navigating and testing arduino-based sensors that send specific NMEA sentences. In the same way, my Furuno sounder sends a nmea phrase in DBT and not in DPT.
When I set the connection COM port for the first time, I have to add to the sentences recognized by O, the additional sentences that I intend to send to him. (see picture)

This WE, during this navigation, the computer (win10) has closed several times (blue screen). This is not related to O, but to a power supply problem in 12 / 19V, I think.
However, after 3 or 4 sudden closures of the PC, O has not returned to its usual configuration: I had the greeting that we have the first time at the installation, no card was enforced and I had to add again the main settings and all specific sentences nmea.

To avoid this in future tests, if I save apart a copy of the config.ini (with all data well reported) and I have again after several crashes, a blank opencpn, by sticking this copy of the config.ini, can I get an opencpn with the data well declared as before the crash ?
Sounds like filesystem corruption to me (The ini file seems completely missing after your machine crashes) and yes, if you keep a copy of opencpn.ini and put it in place before you start the application, it will be used without any problem.
__________________

nohal is offline   Reply With Quote
Reply

Tags
enc, nmea

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Which NMEA Sentences Does an Autopilot Use ? svpresent Marine Electronics 8 02-05-2020 16:42
NMEA-0183 Sentences DSC, DSE continuouswave Marine Electronics 3 14-02-2017 09:48
OpenCPN 3.3.xxxx and plugins : NMEA sentences list ? Gilletarom OpenCPN 17 01-05-2014 06:02
Bug? OpenCPN ignoring lots of NMEA sentences - help! chris14679 OpenCPN 9 29-04-2014 18:37
OpenCPN not sending NMEA autopilot sentences. Islander OpenCPN 6 16-04-2014 07:02

Advertise Here


All times are GMT -7. The time now is 21:00.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.