From: Guy K. K. <guy...@au...> - 2010-11-02 01:04:16
|
On Tue, 02 Nov 2010 10:54:17 Jason Morgan wrote: > Now, the script *HAS* to run at a rate of at least 111.11 fps or it breaks > as the streaming data starts to back up and cease to be real time. I think in this case it would be better to evaluate using more loosely coupled coding, e. g. by using a producer/consumer design pattern. Have the receiving end run in a separate thread that can react immediately and chuck the data into a data structure that then can be updated in the GUI whenever needed. Some knowledge of software engineering can be helpful here. Guy -- Guy K. Kloss School of Computing + Mathematical Sciences Auckland University of Technology Private Bag 92006, Auckland 1142 phone: +64 9 921 9999 ext. 5032 eMail: Guy...@au... |