PDA

View Full Version : Efficient way to plot fast forward in replay mode



vinothrajendran
31st March 2015, 16:23
I have a task to implement replay functionality with Qwtplot...I am able to plot start , stop , pause....but with fast forward option, my curve is not plotting fast... i believe my plotting code takes time to process ...... I use QDirectPainter for curve plotting....

Is there any solution ......

Uwe
31st March 2015, 20:04
Decouple the sample rate from the plot refresh rate. It is not necessary to have faster more updates, than what a human eye can accept. IMHO for a growing curve 10fps should be good enough.

A different question is how to find the most performant update strategy. But this usually depends on the charactistics of your plot - something I don´t know.

Uwe