Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Problem with “realtimegauges.txt" and decimal ceperation

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
Gaike
Posts: 6
Joined: Thu 24 Feb 2011 5:53 pm
Weather Station: Davis
Operating System: XP
Location: Holland

Problem with “realtimegauges.txt" and decimal ceperation

Post by Gaike »

Hello,

I try to use version 2.0 Beta.
Bu I have a problem by changing to different values (for instants from C to F (in temperature) or km/h, m/s, mph, knots).
When I change I get a “NAN” (probably = “Not A Number”).
When I look to the “realtimegauges.txt” file I see that my decimal value is separated by a “,”. When I look at other sites and look at the “realtimegauges.txt”, I see a decimal separation by a “.” – so a point.
I don’t want to change this in Cumulus.
How can I change this in the site (probably gauges.js)?

My site: http://members.quicknet.nl/gaike/Cumulu ... s-ssT.html.
User avatar
mcrossley
Posts: 12785
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problem with “realtimegauges.txt" and decimal ceperation

Post by mcrossley »

Thanks for the problem report, I've pm'd you a version of the script to test.
Gaike
Posts: 6
Joined: Thu 24 Feb 2011 5:53 pm
Weather Station: Davis
Operating System: XP
Location: Holland

Re: Problem with “realtimegauges.txt" and decimal ceperation

Post by Gaike »

mcrossley wrote:Thanks for the problem report, I've pm'd you a version of the script to test.
Hello Mark

Thank for the new script of Gaugess.js.
With NotPad+ I can compare the old “gauges.js” and your new “gauges.js”. I see that you changed lines with extra code “extractDecimal”.
I copied your “gauges.js” directly over mine “gauges.js” on the internet.

Now I don’t see any value. The gauges don’t move.
I leave the site as is, so you maybe can see the problem. So the only thing I did was up-loading your new “gauges.js”.

If you have more idea I will appreciate that.

http://members.quicknet.nl/gaike/Cumulu ... s-ssT.html

Thanks,
Gaike
User avatar
mcrossley
Posts: 12785
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problem with “realtimegauges.txt" and decimal ceperation

Post by mcrossley »

It cannot find your realtime .txt file at:

http://members.quicknet.nl/gaike/Cumulu ... gauges.txt
Gaike
Posts: 6
Joined: Thu 24 Feb 2011 5:53 pm
Weather Station: Davis
Operating System: XP
Location: Holland

Re: Problem with “realtimegauges.txt" and decimal ceperation

Post by Gaike »

mcrossley wrote:It cannot find your realtime .txt file at:

http://members.quicknet.nl/gaike/Cumulu ... gauges.txt

Mark,

I use “realtimegauges.txt” witch, is included in the download of “Gaugess2.0beta4a”. You can find it in: http://members.quicknet.nl/gaike/Cumulu ... gauges.txt

The realtime.txt form Cumulus is placed: http://members.quicknet.nl/gaike/Cumulus/realtime.txt.
But I don’t use this one, because in the download of “Gaugess2.0beta4a” it included the file “realtimegauges.txt”. I see that other users use also “realtimegauges.txt”.

Gaike
Gaike
Posts: 6
Joined: Thu 24 Feb 2011 5:53 pm
Weather Station: Davis
Operating System: XP
Location: Holland

Re: Problem with “realtimegauges.txt" and decimal ceperation

Post by Gaike »

Gaike wrote:
mcrossley wrote:It cannot find your realtime .txt file at:

http://members.quicknet.nl/gaike/Cumulu ... gauges.txt

Mark,

I use “realtimegauges.txt” witch, is included in the download of “Gaugess2.0beta4a”. You can find it in: http://members.quicknet.nl/gaike/Cumulu ... gauges.txt

The realtime.txt form Cumulus is placed: http://members.quicknet.nl/gaike/Cumulus/realtime.txt.
But I don’t use this one, because in the download of “Gaugess2.0beta4a” it included the file “realtimegauges.txt”. I see that other users use also “realtimegauges.txt”.

Gaike

Thanks for de the new Gaugess.js. It look's like thisone works.
Thanks for the help. :D
http://members.quicknet.nl/gaike/Cumulu ... s-ssT.html
Post Reply