This is a migrated thread and some comments may be shown as answers.

gauge wcf web service (almost realtime)

1 Answer 40 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
chris
Top achievements
Rank 1
chris asked on 22 Sep 2011, 03:33 PM
hi

could someone point me to an example that is using gauge and the data source  is a wcf webservice? also i am new to silverlight which i think is my biggest problem

background

i am working on an  application that monitors 200 radio towers. each radio tower has approximately 56 registers that are being polled every couple of seconds. the registers contain analog and digital data for example voltage, temperate and is a door open or close. There is a requirement for technicians to be able to select a radio tower and monitor the registers in real time or close to real time. the silverlight ui dashboard will be made up of 56 guages (one for each register) and there would be a start button and a stop button.

the back end process is running fine and is exposed as a wcf service.

im calling the wcf service using the service reference approach and when i make the call to the wcf service it is being called in the ui thread (im thinking that maybe this call should be using background thread)

my first approach (proof of concept)
-create two gauges on a page
-call the wcf service 25 times and create a separate collection for each gauge
-bind the populated collections to each of the gauges

problems
-using fiddler i only get data for 5 out of 25 calls. I suspect that this is a problem with my asynchronous  approach. Do I need to create a static variable to let me know when each wcf call is complete before making the next call? if so could you point me to a code sample.

thanks in advance

chris maley

update

scraped loop and am now using a dispatched timer, the data is now flowing









1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 27 Sep 2011, 12:54 PM
Hi Chris,

We are sorry, but consuming data with WCF services is out of  the scope of our support  for the gauge control. However you can find several resources online which can help you get started with the technology and WCF services. I also reccomend our help topic - Consuming WCF service where the data is extracted from the Northwind database.

Regards,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Gauge
Asked by
chris
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or