Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Silverlight real time gauges available again!

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Silverlight real time gauges available again!

Post by steve »

I've fixed a few bugs, but apart from that they're basically the same as before.

Demo here: http://sanday.org.uk/weather/CumulusRealtime.html

Download here: http://www.nybbles.co.uk/downloads/CumulusRealtime.zip

Just unzip and follow the instructions in the readme.txt file.

Please let me know of any problems, and also any suggestions for further development of this. I plan to add a facility for the viewer to select their own units, and for the site owner to select some of the colours for the gauges, background etc. I also hope to add some graphs of some sort.
Steve
6719jason
Posts: 519
Joined: Wed 08 Apr 2009 12:38 pm
Weather Station: La-Crosse WS3502
Operating System: Windows 7
Location: Holland On Sea, Essex UK

Re: Silverlight real time gauges available again!

Post by 6719jason »

Hi Steve,

I have successfully reinstalled the Silverlight Realtime Graphs and have updated my web pages to include a link to the Realtime Page.

It all appears to be working correctly. You can access the page directly at: [url]http://weeleyweatherstation.info/Cumulu ... e.html[url] or through the website at [http://www.weeleyweatherstation.info]

Regards

Jason
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: Silverlight real time gauges available again!

Post by aadal »

Not working here i get :

Code: Select all

Unhandled Error in Silverlight 2 Application [Format_InvalidString] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=2.0.40115.0&File=mscorlib.dll&Key=Format_InvalidString at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) at System.Double.Parse(String s, IFormatProvider provider) at System.Convert.ToDouble(String value) at CumulusRealtime.Page.webClient_OpenReadCompleted(Object sender, OpenReadCompletedEventArgs e) at System.Net.WebClient.OnOpenReadCompleted(OpenReadCompletedEventArgs e) at System.Net.WebClient.OpenReadOperationCompleted(Object arg)
My realtime silverlight page here :http://www.aadal.org/weather/c_realtime ... ltime.html
  • Windows Vista
Image

Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Silverlight real time gauges available again!

Post by steve »

I can view your site fine, so I guess it must be something specific to your computer. You could try re-installing the Silverlight runtime, perhaps?

http://www.microsoft.com/silverlight/re ... stall.aspx
Steve
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: Silverlight real time gauges available again!

Post by aadal »

steve wrote:I can view your site fine, so I guess it must be something specific to your computer. You could try re-installing the Silverlight runtime, perhaps?

http://www.microsoft.com/silverlight/re ... stall.aspx
Thanks, i then get

Code: Select all

The latest version of Silverlight 2 is installed:version Silverlight 2 GDR 1 (2.0.40115.0)
  • Windows Vista
Image

Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Silverlight real time gauges available again!

Post by steve »

I think this may be because your system uses commas for decimal points, and the data in the realtime.txt file (deliberately) uses full stops. I did wonder if I needed to do anything about this (as I do in Cumulus) but no-one seemed to hit the problem when I released the gauges previously, so I assumed Silverlight handled it.

I can fix it, but I am in the middle of doing some other changes, so I can't release a fixed version just yet.
Steve
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: Silverlight real time gauges available again!

Post by aadal »

steve wrote:I think this may be because your system uses commas for decimal points, and the data in the realtime.txt file (deliberately) uses full stops. I did wonder if I needed to do anything about this (as I do in Cumulus) but no-one seemed to hit the problem when I released the gauges previously, so I assumed Silverlight handled it.

I can fix it, but I am in the middle of doing some other changes, so I can't release a fixed version just yet.
Yes can be,only time show then error.
Thanks Steve no hurry here.... :D
  • Windows Vista
Image

Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Silverlight real time gauges available again!

Post by gwheelo »

Thanks for bringing back Silverlight - any chance I can change the "please wait" message to blink in red or some other way to highlight the delay.

George Wheelock
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Silverlight real time gauges available again!

Post by beteljuice »

I did get, and have just replicated the error at your site Steve.

It says 100% (and keeps animating) but that's it. However; a refresh seems to clear it.

Some sort of load problem ?
Image
......................Imagine, what you will KNOW tomorrow !
6719jason
Posts: 519
Joined: Wed 08 Apr 2009 12:38 pm
Weather Station: La-Crosse WS3502
Operating System: Windows 7
Location: Holland On Sea, Essex UK

Re: Silverlight real time gauges available again!

Post by 6719jason »

beteljuice wrote:I did get, and have just replicated the error at your site Steve.

It says 100% (and keeps animating) but that's it. However; a refresh seems to clear it.

Some sort of load problem ?
I get the same problem, everytime I load the page up on a pc other than the server pc. Strange fault really? Cant remember the beta release having this problem?

Oh, thankyou for those script recommendations.

Regards

Jason
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Silverlight real time gauges available again!

Post by steve »

gwheelo wrote:Thanks for bringing back Silverlight - any chance I can change the "please wait" message to blink in red or some other way to highlight the delay.
I'll see what I can do - how about a little 'please wait' splash screen, a bit like when Cumulus starts?
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Silverlight real time gauges available again!

Post by steve »

beteljuice wrote:I did get, and have just replicated the error at your site Steve.

It says 100% (and keeps animating) but that's it. However; a refresh seems to clear it.

Some sort of load problem ?
You're saying that when you first click on the link you get that problem, but then a refresh fixes it? And then if you go away and come back it does it again?

I can't reproduce that at all. Once you've loaded the application, your browser should cache it for a while, so you shouldn't see very much of the Silverlight animation at all - it's almost instantaneous for me.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Silverlight real time gauges available again!

Post by steve »

6719jason wrote:I get the same problem, everytime I load the page up on a pc other than the server pc. Strange fault really? Cant remember the beta release having this problem?
Do they have different browsers?
Steve
6719jason
Posts: 519
Joined: Wed 08 Apr 2009 12:38 pm
Weather Station: La-Crosse WS3502
Operating System: Windows 7
Location: Holland On Sea, Essex UK

Re: Silverlight real time gauges available again!

Post by 6719jason »

steve wrote:
6719jason wrote:I get the same problem, everytime I load the page up on a pc other than the server pc. Strange fault really? Cant remember the beta release having this problem?
Do they have different browsers?
Same Browsers - IE 7 Windows XP SP3
I have also asked a friend to try it on an IE 8 Browser, and he mentioned it having an error on first attempt at access page and then after refreshing, it works. But when he went back later, the same fault occured again.

Hope this helps.

Jason
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Silverlight real time gauges available again!

Post by beteljuice »

steve wrote:You're saying that when you first click on the link you get that problem, but then a refresh fixes it? And then if you go away and come back it does it again?
Yup, that's it exactly.

The error message is immediate:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 27 May 2009 22:13:11 UTC


Message: Unhandled Error in Silverlight 2 Application 2258 An error has occurred. [Line: 683 Position: 85]
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at CumulusRealtime.Page.InitializeComponent()
at CumulusRealtime.Page..ctor()
at CumulusRealtime.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Line: 1
Char: 1
Code: 0
URI: http://sanday.org.uk/weather/CumulusRealtime.html
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply