Hello!
I would like to know more about the clas QwtSamplingThread: how do I implement it and if there is an example of it being used. Unfortunately the Detailed Description in Qwt's help file don't say too much.
Thanks,
Momergil
Hello!
I would like to know more about the clas QwtSamplingThread: how do I implement it and if there is an example of it being used. Unfortunately the Detailed Description in Qwt's help file don't say too much.
Thanks,
Momergil
There is not much to say, beside that it starts a thread calling sample() periodically. The oscilloscope example uses it.
Uwe
Momergil (17th January 2013)
Just a small note:
I tried to implement a class with QwtSamplingThread and the periodic sample() wasn't working. I was almost coming here for help when I noticed that in the osciloscope example the run() function was not declared, just sample(), so I did the same and it began to work. So I'l recommend to add this note in the Qwt help files: not to implement run() in order for sample() to work!
Thanks,
Momergil
Bookmarks