good day
problem
i need to create a data stream and bind it to a gauge in almost real time for an undefined amount of time. the app is monitoring a radio network and im creating a data dash board representing the current state of the network.
i have a wcf service that is called every 3 seconds using dispatch timer, which populates a list of objects. i would like to data bind the collection to the gauge control.
workflow
questions
if anyone can help in anyway it would be greatly appreciated
thanks
chris maley
problem
i need to create a data stream and bind it to a gauge in almost real time for an undefined amount of time. the app is monitoring a radio network and im creating a data dash board representing the current state of the network.
i have a wcf service that is called every 3 seconds using dispatch timer, which populates a list of objects. i would like to data bind the collection to the gauge control.
workflow
- user clicks start
- wcf service is called every 3 seconds
- results are added to a queue collection
- create a buffer in queue. (dont start data binding until the queue count = 20)
- if queue count = 20 then bind data to gauge
- if queue count = 5 then wait until queue count reaches 20 before databinding
- client clicks stop and wcf service stops polling data
questions
- does the wcf service need to be run on a different thread? if so how do i connect the ui thread with the background thread
- can i data bind a stream to a gauge? If so how would i create the stream?
if anyone can help in anyway it would be greatly appreciated
thanks
chris maley