Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > gauge wcf web service (almost realtime)

Not answered gauge wcf web service (almost realtime)

Feed from this thread
  • chris avatar

    Posted on Sep 22, 2011 (permalink)

    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









    Reply

  • Andrey Andrey admin's avatar

    Posted on Sep 27, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > gauge wcf web service (almost realtime)
Related resources for "gauge wcf web service (almost realtime)"

Silverlight Gauge Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]