gauge wcf web service (almost realtime)

2 posts, 0 answers
  1. chris
    chris avatar
    4 posts
    Member since:
    Jul 2011

    Posted 22 Sep 2011 Link to this post


    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


    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

    -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


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

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 27 Sep 2011 Link to this post

    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.

    Andrey Murzov
    the Telerik team

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

  3. DevCraft R3 2016 release webinar banner
Back to Top