Hi…I am new to qwt. I need some suggestions regarding real time plotting using qwtplot.I am using qwt 6.0.1. I am acquiring data from an ADC card at every 10ms and receiving max 200 samples per second for each sensor..I need to plot data of around 150 sensors, each having a separate qwtplot widget.I am attaching separate curve for each of these plot widgets.I want to update each of my plots every 1 second.The time I need to do online plotting can be around 2 hours.For suppose if the data acquisition started at T hrs and ended at T+2 hours,I need to plot the whole data online starting from T hrs and should be able to see the data at any point of time for example say at T+10 minutes or so in the same qwtplot widget window.My x axis i.e. time will be incrementing continuously with initial starting time fixed and y-axis range is fixed..Here the x-axis i.e. the time axis will be of compressing type as the time progresses..I am using setSamples function for assigning x and y arrays to the curve.As the array size keeps on increasing with time and memory consumption is more,I cant store all the data points in the x and y arrays continuously.I need to clear the arrays at certain point of time..but what should I do to see the old samples on qwtplot widget starting from T hrs if i cant store whole set of points in an array for plotting?..Do I need to paint the old samples or Do I need to use some curve fitting algorithm to compress data samples? What is the best method to implement this type of plotting?Thank you…


Reply With Quote

Bookmarks