Cruisers Forum
 


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 17-06-2023, 07:51   #601
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,344
Re: Plugin: DashBoard

Quote:
Originally Posted by Hakan View Post
Franziska..
This is nothing OCPN can control. You've to set the inactive title bar color in Win settings. I've made them light gray to not shine to much on night mode.

One example how to do it on This page
Great. Thanks.

Also came across this:
https://apps.microsoft.com/store/det...XP8JK4HZBVF435
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 17-06-2023, 08:02   #602
Registered User

Join Date: Jan 2011
Location: France/UK
Boat: Gib'Sea 402
Posts: 548
Re: Plugin: DashBoard

Inevitably, Windows 11 seems to be different. Selecting Accessibility>Contrast Themes allows one of four sets of colour values for Windows elements, including subdued and dark themes for night use. These can be edited if you don't like the preset colour choices.
hoolie is offline   Reply With Quote
Old 27-01-2024, 03:14   #603
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Plugin: Dashboard

Updated with latest version of WD 2.4.105
Windows 11 (23H2) x64 & ARM64 - O 5.9.0

Done the test at home with Arduino device.

in COM connection rejected MTA & MDA and accepted only XDR sentences.

WD correctly shows the values and alarms working.

really good, also Dashboard shows the pressure trends and value but not showing the temperature.
so, it means that Dashboard should not read the temperature value in XDR format.
in connection added to filter to accept MTA and now dashboard showing the temperature.

attached pictures with and without MTA sentence
Attached Thumbnails
Click image for larger version

Name:	sshot-2.png
Views:	23
Size:	208.6 KB
ID:	285672   Click image for larger version

Name:	sshot-3.png
Views:	20
Size:	208.6 KB
ID:	285673  

__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 27-01-2024, 06:01   #604
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Plugin: DashBoard

Corsair..
The XDR is a mess wo a common specification.
You happened to use a string not covered by the various attempts in Dashboard.
Try one the below instead?

// XDR Airtemp
Code:
if (m_NMEA0183.Xdr.TransducerInfo[i].TransducerType == _T("C") && (
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
         _T("Te") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
         _T("TempAir") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
        _T("AIRTEMP") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
        _T("ENV_OUTAIR_T") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
        _T("ENV_OUTSIDE_T"))) {
Hakan is offline   Reply With Quote
Old 27-01-2024, 07:15   #605
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Plugin: DashBoard

We need to have a common VDR file(s) for testing Dashboard and Watchdog!!
I think they should be divided into (for example)


Weather
Wind
Course
etc.


Shouldn't we also use MDA for weather?


We are trying to get all watchdog alarms working, and would really appreciate any good VDR files for that.
rgleason is offline   Reply With Quote
Old 27-01-2024, 07:23   #606
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Plugin: DashBoard

Quote:
Originally Posted by rgleason View Post
Shouldn't we also use MDA for weather?
In Dashboard we do. Parsing pressure and air temp
Hakan is offline   Reply With Quote
Old 27-01-2024, 13:15   #607
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Plugin: DashBoard

Quote:
Originally Posted by Hakan View Post
In Dashboard we do. Parsing pressure and air temp
Right too, but as per newest standards MTA & MDA sentences are deprecates and all measurements should be based in XDR sentences.

of course, I understand that all of us we keep old firmware devices should be aware of it and should have to do something else, using e.g. NMEA converter plugin to convert old sentences in latest standard? maybe but the fact is the attachment.
Attached Thumbnails
Click image for larger version

Name:	280726626-92a0fd11-c73b-4bac-ba66-a8cd688d6ba6.png
Views:	32
Size:	92.8 KB
ID:	285698  
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 27-01-2024, 14:00   #608
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Plugin: DashBoard

Hakan, do you have a VDR file like this that you could share by uploading here? Even one with more instruments...



Quote:
Originally Posted by Hakan View Post
Corsair..
The XDR is a mess wo a common specification.
You happened to use a string not covered by the various attempts in Dashboard.
Try one the below instead?

// XDR Airtemp
Code:
if (m_NMEA0183.Xdr.TransducerInfo[i].TransducerType == _T("C") && (
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
         _T("Te") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
         _T("TempAir") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
        _T("AIRTEMP") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
        _T("ENV_OUTAIR_T") ||
    m_NMEA0183.Xdr.TransducerInfo[i].TransducerName ==
        _T("ENV_OUTSIDE_T"))) {
rgleason is offline   Reply With Quote
Old 27-01-2024, 16:32   #609
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Plugin: DashBoard

I am trying to get a complete list of what should be acceptable in the XDR sentence. This is for watchdog and dashboard.

References
https://opencpn.org/wiki/dokuwiki/do...shboard_plugin
XDR - Transducer Measurement
XDR Support https://github.com/SignalK/nmea0183-signalk/issues/54
Have also been looking in Opencpn Code, have been unable to find it.

I really badly need "Relative Humidity" and "Absolute Humidity" format and
Here is what I have so far.
Mean Temp Water xxMTW,19.5,C*1E
Water Temp xxXDR,C,19.52,C,ENV_WATER_T
Air Temperature xxXDR,C,19.52,C,TempAir*19
Air Temperature xxXDR,C,19.52,C,ENV_OUTAIR_T
Air Temperature xxXDR,C,19.52,C,ENV_OUTSIDE_T
Air Temperature xxXDR,C,19.52,C,Te
Humidity Relative
Humidity Absolute
Barometer xxXDR,P,1.02481,B,Barometer
Pitch
Roll
And anything else we are likely to need.
-------------------
/1/ Nexus, from http://www.nexusmarine.se/wp-content/uploads/2011/11/NMEA-HPC-Compas.pdf /2/ Airmar, from http://www.airmartechnology.com/uploads/installguide/GCR200UserManual.pdf

[["PTCH","deg","navigation.attitude_pitch"],
["PIT","deg","navigation.attitude_pitch"],// ref /1/ Te
["ROLL","deg","navigation.attitude_roll"],
["ROL","deg","navigation.attitude_roll"]];// ref /1/
["WCHR","deg",""],//relative wind chill, ref /2/

https://github.com/SignalK/nmea0183-signalk/issues/54
rgleason is offline   Reply With Quote
Old 27-01-2024, 16:43   #610
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Plugin: DashBoard

Also I just found this XDR Plugin with examples.
Should we be using these? are there any other common ones being used?
https://www.eye4software.com/hydroma...-nmea0183-xdr/

Dual frequency depth
$SDXDR,D,2.85,M,XDHI,D,2.92,M,XDLO,C,23.16,C,WTHI* 77
$SDXDR,D,2.83,M,XDHI,D,2.92,M,XDLO,C,23.16,C,WTHI* 71

Water Temperature
$SDXDR,C,23.13,C,WTHI*76
$SDXDR,C,23.15,C,WTHI*70

Weather Sensor
$IIXDR,P,1.01408,B,Barometer*2B
$IIXDR,C,19.8,C,AirTemp*26

Vessel Motion
$IIXDR,A,4,D,ROLL,A,-2,D,PTCH,A*1A
rgleason is offline   Reply With Quote
Old 27-01-2024, 22:58   #611
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Plugin: DashBoard

Quote:
Originally Posted by rgleason View Post
Hakan, do you have a VDR file like this that you could share by uploading here? Even one with more instruments...
Here's a VDR with most instrument and more. Welcome to Sweden.
Dropbox Link
Hakan is offline   Reply With Quote
Old 28-01-2024, 06:39   #612
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Plugin: DashBoard

Thank you Hakan, you might have saved me a lot of trouble and work!
Where/how would I find the all the XDR transducer types supported by Dashboard at this point in time? Is it in some file in src/ or is it in the nmea lib ? Where would I look? Thanks.



Quote:
Originally Posted by Hakan View Post
Here's a VDR with most instrument and more. Welcome to Sweden.
Dropbox Link
rgleason is offline   Reply With Quote
Old 28-01-2024, 07:03   #613
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Plugin: DashBoard

Rick..
In Dashboard code here
Hakan is offline   Reply With Quote
Old 28-01-2024, 07:15   #614
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 497
Re: Plugin: DashBoard

Maybe I should be doing something wrong, but not able to show the date in the Dashboard.

should it be possible to add such feature? as another field to show.

this is useful e.g. the case of time & date when sometimes this doesn't match with system time, it has happened sometimes to me with my tablet, it doesn't update automatically the date/time and when displayed with another software you realize e.g. the time of OCPN is correct because it comes from GNSS and the system time is different but could no verify the date.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 28-01-2024, 23:58   #615
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Plugin: DashBoard

On occasion I've to explain the provided VDR above is just an example of sensors to see how it looks in Dashboard. The data is not based on a real cruise.
Hakan is offline   Reply With Quote
Reply


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 PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50

Advertise Here


All times are GMT -7. The time now is 06:30.


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.