PDA

View Full Version : QWT realtime plot with scroll bar



CodingQt
4th November 2013, 19:30
HI,

I am working on project that uses QWt for plotting oscilloscope type plot realtime. It also has horizontal scroll bar facility. Is there any way to store past data so that plot can work fast with given parameters.

Uwe
5th November 2013, 06:33
The points you show to the plot doesn't need to be the same as those you store somewhere,

Uwe

CodingQt
6th November 2013, 17:38
Yes I am planning to plot 1000 data per second from 20,000 data per second I will get. Also, which is good storage method(text file, database, or any sugession) in this situation and faster in terms of storing and retriving back(for scrolling)?

My application has record and stop buttons. when user click on record button it will plot and store those data. And when user click on stop, it will retrive all past data and user can scroll back to see whole plot.

Everything working right now and I am storing data in memory. Its working fine but it's memory consumption increase lot with time.