Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-07-2016, 13:53   #1
Registered User

Join Date: Jul 2016
Posts: 1
Barometer reading in OpenCPN not working

Hello!

I'm using OpenCPN 4.4.0 on Windows and I want to use the dashboard to display the barometer reading of my weather instrumment.
Unfortunately it does not show anything. Temperature is working, but not barometer.
Which NMEA messages are required?

The following messages are transmitted by my instrument:
$WIMHU,47.84,,,C*2C
$WIMTA,26.38,C*24
$WIMMB,27.98,I,0.9476,B*6F
$WIXDR,P,0.9476,B,barometer*25
$WIXDR,C,26.38,C,temperature*1D
$WIXDR,H,47.84,P,humidity*70

Regards,
Rooney
__________________

__________________
Rooney is offline   Reply With Quote
Old 26-07-2016, 18:33   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Barometer reading in OpenCPN not working

I have several suggestions:

1. Confirm these nmea sentences are getting to OpenCPN by going to Options > Connections > and check "Show nmea debug window. Use pause to verify..

2. If opencpn is receiving the nmea sentences, record them to a file using VDR_pi. Save the file. This will allow you to test various configurations without having to be on the boat.

3. Read nmeaconverter documentation NMEA Converter | Official OpenCPN Homepage
it may allow you to change the sentence so that Dashboard sees it.

4. Search on this forum for barometer because I believe this problem was solved before.

5. Also check the Tracker records under closed items as there were several very informative Tasks about this specific topic during the solution.
__________________

__________________
rgleason is online now   Reply With Quote
Old 27-07-2016, 00:20   #3
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 267
Re: Barometer reading in OpenCPN not working

You have several different NMEA sentences with the same nmea-header. The Nmea- convertor can't see the difference between them, so that won't work.
As this problem seems to happen more, I might update the code to change this.
But that won't be in the near future. (Maybe somebody else can??)
Dirk
__________________
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 27-07-2016, 06:16   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Barometer reading in OpenCPN not working

So there would have to be a filter that would catch the P, C, or H and then convert it to a different sentence that works? Is this a standard sentence structure for XDR?

$WIXDR,P,0.9476,B,barometer*25
$WIXDR,C,26.38,C,temperature*1D
$WIXDR,H,47.84,P,humidity*70

It seems to me that someone previously solved this problem for barometer....
and it was the XDR sentence. I think you should do a search on the forum or in Tracker old tasks.
__________________
rgleason is online now   Reply With Quote
Old 27-07-2016, 08:21   #5
Registered User

Join Date: May 2012
Posts: 26
Re: Barometer reading in OpenCPN not working

Dont think XDR sentence for barometric pressure is implemented. I know that MDA sentence was implemented some years ago.
__________________
stedy is offline   Reply With Quote
Old 27-07-2016, 09:10   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Re: Barometer reading in OpenCPN not working

Implementing the XDR sentence parsing to make everybody happy is somewhat problematic as it's format is highly vendor dependent = If we change the parsing to work with one instrument, it is almost certain we break it for another. No easy solution here, probably the best approach is to make the nmeaconverter plugin smart enough to handle this situation and write a bit of documentation...

Pavel
__________________
nohal is online now   Reply With Quote
Old 27-07-2016, 11:27   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,011
Re: Barometer reading in OpenCPN not working

Could he use nmeaconverter to make a MDA statement, if only he could filter it out using in this case, the second parameter...
__________________
rgleason is online now   Reply With Quote
Old 27-07-2016, 12:17   #8
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 267
Re: Barometer reading in OpenCPN not working

There are more sentences with XDR. NmeaConverter can't make a different between them.
You can make a MDA sentece, but that would jump between 0.9476 to 26.38 and 47.84. (pressure temp en hum.)
If there is a way to tell the instrument to only send pressure, you could use it.
__________________

__________________
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
Reply

Tags
enc, opencpn

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
OpenCPN Download link not working Stingo OpenCPN 8 03-03-2014 20:46
AIS-receiver not working in OpenCPN under Navigatrix hansvalk OpenCPN 11 29-04-2013 11:59
ENC charts not working with OpenCPN 3.2.0 jamhendriks OpenCPN 2 14-04-2013 01:42
Has anyone else noticed the OpenCpn Wiki is not working? rgleason OpenCPN 3 19-01-2013 07:49
Opencpn 3.0.2 gshhs not working rgleason OpenCPN 2 08-01-2013 17:44


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 16:36.


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.