[Qt-interest] real time strip chart

giovanni drogo gvnndrogo at googlemail.com
Mon May 23 17:30:06 CEST 2011


>
>>* You might be better off erasing all data points (1 pixel per x) and writing
*>>* the new one.
*>
>  That’s a clever idea and our original questioner should definitely benchmark
>  that; depending on how many traces are being drawn simultaneously, I
>  wouldn’t be surprised if that’s the winner!
>
>                                       Atlant

It is too slow. One of the reasons to try to use QT was to have a nice
graphic with minimal programming efforts.
Incoming data are faster than one sample for pixel, but, using QT,
scaling the time axis and plotting with antialiasing is very easy.
However CPU usage is reasonable for plotting the few new pixel I
scrolled, too high to re-plot two times the whole trace.

Moreover there are problems when the traces cross together.

G.Drogo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110523/823e8575/attachment.html 


More information about the Qt-interest-old mailing list