David812
27th April 2011, 10:13
Goodmorning everybody,
I'm working on an application which aquires data from HW (Reflective Memory) and plots them in a Grafic Interface.
What i tried is devolopping 2 Threads, the one in charge to aquire the data and the second one to plot data by means of a qwtplot. The problem is i could only exchange data between threads with SIGNAL/SLOT way but it's not so efficient.
I've tried to inherits qwtplot from qthread and exchange data by global variables but it creates some problem of communications between threads. :(
Any suggestions are welcome.
Thanks
Andrea
I'm working on an application which aquires data from HW (Reflective Memory) and plots them in a Grafic Interface.
What i tried is devolopping 2 Threads, the one in charge to aquire the data and the second one to plot data by means of a qwtplot. The problem is i could only exchange data between threads with SIGNAL/SLOT way but it's not so efficient.
I've tried to inherits qwtplot from qthread and exchange data by global variables but it creates some problem of communications between threads. :(
Any suggestions are welcome.
Thanks
Andrea