ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  200KSamples per second possible?
Posted by JSee on May-01-2018 01:12
Hi,

Is it possible to chart 200KSamples per second in real-time using chart directory? We are interested in using ChartDirector as part of a Java Plugin for Eclipse IDE.

Thanks!

  Re: 200KSamples per second possible?
Posted by Peter Kwan on May-01-2018 17:14
Hi JSee,

Yes. 200K samples are not a large number in ChartDirector. ChartDirector is commonly used to plot charts with millions of data points.

For your case, do you need to plot accumulated data? For example, if you want to plot voltage vs time, and your system obtain 200K sample second, and you would like to plot  the data for the last 100 seconds, that would be 200K x 100 = 20 million data points on the chart. On the other hand, if you only need to display the most recent 1 second or 0.01 second of data (like an oscilloscope), or if your data are time varying "spectrum" data (that is, the x-axis is not time but is frequency or some other quantity), then there would be much less data points on the chart.

If you need to plot 20 million data points, the chart probably can update only once very few seconds (around 2 to 3 seconds). This can be speed up by pre-processing the data during data collection.

If you need to plot 200K points, the chart can update several times per second.

If you need to plot 20K points, the chart can usually update very fast.

Note that the data collection rate and chart update rate are two independent rate. You can collect data millions of times per second, but it is not necessary to update a chart faster than a few dozen times per second. For your reference, a typical movie updates the screen at 24 frames per second, so updating the display at this rate is already very smooth.

if you need further information, please let me know the type of chart you would like to plot.

Regards
Peter Kwan