tags:

views:

13

answers:

1

Hi , This is my post and hence please do not mind of any mistakes , what i wanted the help is about extracting/displaying the real output and updating the values in my text control area. For example : if i have to update the signal catch by a device and have to update in my GUI text Control area and the code that extracts the signal data is define in other module.Please do guide in getting and updating my text control area in real time fashion. Hope my post is not confusing and understandable. I referred http://stackoverflow.com/questions/2525263/capture-subprocess-output but this is not working in mine.

Thanx in advance.

Anil ph

A: 

I would try using threads. The Gui will be the main thread, and you can have another thread that catches the device output. You will then need to communicate information from the catching thread to the Gui thread, and queues are generally a good way of doing that.

Jeff