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