|
ChartDirector Evaluation |
Posted by Tushar Chaudhari on Mar-11-2010 20:32 |
|
Hello,
I am a .Net developer and evaluating chart controls for my project requirements.
My requirements are to have the following capabilities for the OScilloscope control
1) Max 50 charts running at a given instance
2) Each chart may contain max 128 Line trends
3) Sampling rate for these signal values can be 100Hz
Has any one used the ChartDirector control to such an extent and what were the findings and performance figures?
I would be really thankful and if you could provide me an Evaluation sample for similar requirements.
Thanks & Regards,
Tushar |
Re: ChartDirector Evaluation |
Posted by Peter Kwan on Mar-12-2010 00:49 |
|
Hi Tushar,
First, please note that ChartDirector is a charting component. Your code pass data to ChartDirector, and ChartDirector will change the data into charts.
ChartDirector does not performing sampling. Your own code can sample the data as fast as you like (eg. you can sample at 100Hz or 1MHz, it does not matter as it is not related to charting).
When you wish to plot the chart, you can pass the data to ChartDirector to plot the chart. Because a computer screen typically refresh only at a rate of around 50Hz, it is not useful to plot the chart faster than 50Hz. (Note that the data sampling rate is different from the display update rate. The data sample rate can be as fast as you like. The maximum display update rate is determined by your video hardware.)
In fact, a human eye cannot distinguish frame rate higher than around 20 frames per second. (For your information, a DVD movie has a frame rate of 24 fps, and it already looks perfectly smooth.) So it is not common to update the chart faster than 20Hz.
For the number of charts, note that you only need to plot things that are visible on the screen. So you would not need to plot more pixels than the number of pixels on the screen. The speed of plotting is not too dependent on the number of charts. Rather it is dependent on the number of pixels to plot. So plotting 50 charts is OK, provided they can fit on the screen. (If a chart is not visible, your code can still collect data for the chart. But it does not need to convert the data to the chart until the chart is actually visible.)
Please feel free to download a free trial version of ChartDirector from our web site http://www.advsofteng.com/download.html to try it.
Hope this can help.
Regards
Peter Kwan |
|