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 24-02-2014, 11:13   #31
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by stedy View Post
Hi.
Your date seams a bit strange.
Spec:$--MDA,x.x,I,x.x,B,x.x,C,x.x,C,x.x,x.x,x.x,C,x.x,T,x. x,M,x.x,N,x.x,M*hh<CR><LF>
Yours:$IIMDA,102200.0,P,1.02,B,5.4,C,6.3,C,,,,C,22 9.29,T,,M,14.38,N,7.40,M*24
The first field should contain pressure in inch of mercury..




Which instrument do you use?
The instrument is an airmar DST200 NMEA 2000 transducer

The NMEA2000 is translated by an actisense NGW and I have been in touch with Actisense on this and say that MDA is translated but that barometric pressure is not - confused? I am!

I have no idea what inches of mercury would look like as a number in this case but the second field set 1.02,B is correct 1.02Bar (1020mB) so is it possible to use that?

What sentence is OCPN using for barometric pressure? MMB?

Regards
Chris
Littlechay is offline   Reply With Quote
Old 24-02-2014, 11:54   #32
Registered User

Join Date: May 2012
Posts: 26
Re: OpenCPN Beta Version 3.3.1419 Released

My addon for Dashboard use the MDA sentence field 3 and 4... So i quess your setence should work. If i change the end of your sentence from M*24 to M,*24 then it work..

I have found a solution but not sure if this is the right thing to do...
if i change line 90 in mda.cpp from:

if ( sentence.IsChecksumBad( sentence.GetNumberOfDataFields() ) == TRUE || FALSE )

TO

if ( sentence.IsChecksumBad( sentence.GetNumberOfDataFields()+1 ) == TRUE || FALSE )

then it works. But im not sure if its my code or the code in GetNumberOfDataFields that is wrong.
Or maybe the checksum provided in your sentence..
stedy is offline   Reply With Quote
Old 24-02-2014, 12:38   #33
Registered User

Join Date: May 2012
Posts: 26
Re: OpenCPN Beta Version 3.3.1419 Released

Littlechay have you tried to disable checksum control in the communication setup, for the port providing the MDA sentence?
stedy is offline   Reply With Quote
Old 24-02-2014, 13:20   #34
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,012
Re: OpenCPN Beta Version 3.3.1419 Released

Hello Dave,

I loaded into O, for the English coastline, raster charts VisitMyHarbour (With dongle), NV-Verlag raster chart (with the plugin NV-Verlag), the CM93 and S63 charts test plugin S-63. .

I indicate that all is well. The cahrts are displayed correctly and it is possible to display, simultaneously, all sorts of chart.

BUT:
If I display a NV-Verlag chart and if I double click on this chart, then the "Object query" window opens ( it is empty ).

This does not occur with raster charts VisitMyHarbour.

Obviously, if I display a S63 or a CM93 chart, the same window appears but it is not empty. This is normal.

B.R. Gilletarom.
Attached Thumbnails
Click image for larger version

Name:	2014-02-24_Objects_query.jpg
Views:	165
Size:	74.2 KB
ID:	76691  
Gilletarom is offline   Reply With Quote
Old 24-02-2014, 13:37   #35
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OpenCPN Beta Version 3.3.1419 Released

Gilletarom,

ObjectQuery should not make any sense with raster charts - there are no Objects - just grey, black or white points (or colored of course). Or do I miss something?
Or do you want to say that in the NV case the Object Windows opens despite being a raster chart?

Hubert
bcn is offline   Reply With Quote
Old 24-02-2014, 14:03   #36
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,012
Re: OpenCPN Beta Version 3.3.1419 Released

Hello Hubert,

Quote:
Originally Posted by bcn View Post
Gilletarom,
ObjectQuery should not make any sense with raster charts - there are no Objects - just grey, black or white points (or colored of course). Or do I miss something?
Hubert, for me, you are right.

Quote:
Or do you want to say that in the NV case the Object Windows opens despite being a raster chart?

Hubert
It is not normal that this window appear in this case.

Do you want that I open a task ?
Gilletarom is offline   Reply With Quote
Old 24-02-2014, 14:12   #37
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,012
Re: OpenCPN Beta Version 3.3.1419 Released

Hello All,

Sorry, what I say in this post is off topic.

For some time I have a problem to add my images.

When I log in, the pictures I attached to my post does not appear at the bottom of the post. But there is "Rotate Image".

When I log out, the images appear .....

What about?

Thank by advance.
Attached Thumbnails
Click image for larger version

Name:	2014-02-24_Bug_Rotate_instead_of_jpg.jpg
Views:	173
Size:	20.5 KB
ID:	76692   Click image for larger version

Name:	2014-02-24_Bug_Rotate_instead_of_jpg_2.jpg
Views:	146
Size:	28.3 KB
ID:	76693  

Gilletarom is offline   Reply With Quote
Old 24-02-2014, 14:13   #38
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: OpenCPN Beta Version 3.3.1419 Released

Yes to #36 - even if this is a bit exotic (my opinion)

But the great thing is that you can test having all that different chart sources at hand at the same time.

Seems to me that just O can do that....
bcn is offline   Reply With Quote
Old 24-02-2014, 15:08   #39
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by stedy View Post
Littlechay have you tried to disable checksum control in the communication setup, for the port providing the MDA sentence?
I have tried it both enabled and disabled in the OCPN connections dialogue and it makes no difference; which implies that the checksum is seen as good by OCPN, other then that I have no control over it.

The data comes in off the N2K network via an Actisense NGW1 gateway.

Chris
Littlechay is offline   Reply With Quote
Old 24-02-2014, 18:32   #40
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: OpenCPN Beta Version 3.3.1419 Released

stedy/LittleChay...

I think stedy's analysis is correct . The code in mda.cpp is wrong.

line 90 should be:

Code:
   if ( sentence.IsChecksumBad( sentence.GetNumberOfDataFields() + 1) == TRUE || FALSE )
I will correct for next Beta.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 24-02-2014, 18:38   #41
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by bdbcat View Post
stedy/LittleChay...

I think stedy's analysis is correct . The code in mda.cpp is wrong.
Great, so will that also help pull wind data from MDA ?

What sentence is OCPN using for wind data for the wind history which I have never been able to get to display anything even though I have the true wind dial showing data?

Chris
Littlechay is offline   Reply With Quote
Old 24-02-2014, 19:43   #42
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,473
Re: OpenCPN Beta Version 3.3.1419 Released

Chris...

Well, it should be using MWD.
Or, it will use MWV if that is sending True, not Relative wind info.

But, there is a bug...sigh....
In MWD, the info goes to the True wind dial OK. But does not get sent to the history graph.

Easy fix for next Beta.

Thanks for your patience.
Dave
bdbcat is offline   Reply With Quote
Old 25-02-2014, 02:59   #43
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by bdbcat View Post
Chris...

Well, it should be using MWD.
Or, it will use MWV if that is sending True, not Relative wind info.

But, there is a bug...sigh....
In MWD, the info goes to the True wind dial OK. But does not get sent to the history graph.

Easy fix for next Beta.

Thanks for your patience.
Dave
Ok thats great news. No problem glad that i can help by providing feedback.

I'll experiment with tweaking the PGNs on the PB200 and see if i can get MWV to send true. It will be a juggling act between what the sensor transmits on the N2k network and how the NGW1 converts the PGNs to 0183 sentences.

Chris
Littlechay is offline   Reply With Quote
Old 25-02-2014, 06:29   #44
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by stedy View Post
Hi.
Your date seams a bit strange.
Spec:$--MDA,x.x,I,x.x,B,x.x,C,x.x,C,x.x,x.x,x.x,C,x.x,T,x. x,M,x.x,N,x.x,M*hh<CR><LF>
Yours:$IIMDA,102200.0,P,1.02,B,5.4,C,6.3,C,,,,C,22 9.29,T,,M,14.38,N,7.40,M*24
The first field should contain pressure in inch of mercury..
I got this from Actisense technical support, which explains the funny first number

"What is actually happening is the value is in Pascals (like in NMEA 2000).
The 0183 spec requires Inches of Mercury so the value is incorrect.
The value for Bars is accurate and correctly formatted."

Chris
Littlechay is offline   Reply With Quote
Old 27-02-2014, 00:15   #45
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,255
Re: OpenCPN Beta Version 3.3.1419 Released

Quote:
Originally Posted by bdbcat View Post
But, there is a bug...sigh....
Dave
Dave.. And while you're in the neighbourhood there's a bug in the MWV handling as well: The user unit settings are not reflected.
My suggestion for a fix which I've tested for a while now is in flyspray:
FS#1342 : Bug fix for the MWV sentence. User wind speed unit option don't work
Hakan is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn


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


Advertise Here


All times are GMT -7. The time now is 09:03.


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.