Page 1 of 1

Realtime update of FastLine

Posted: Wed Oct 18, 2006 10:38 pm
by 9640363
Hi,
I am trying to get a couple of charts with one FastLine series each to display realtime information. The series contains arround 1000 points, and as new data is added the oldest is removed.

I need to add data fast, say 100Hz, (10ms time difference between each sample), but I would be happy to update the display much slower (10Hz?).

At present I max out my CPU, and it still can't cope - but I suspect this is because the graph is trying to update for every point added and removed.

Is there any trick to updating the series in chunks?

I am developing an application for a laptop, and I am developing on a Celleron 2.04GHz system with 512MB Ram, using VS 2003.
Language is C# .net.
TChart version is 2.0.2179.21171

Any advice would be great.

Thanks

Posted: Thu Oct 19, 2006 8:17 am
by narcis
Hi Zephyr,

I'd suggest you to read this article about optimizing TeeChart's performance on real-time environments. This article is written in Delphi but it can be easily ported to TeeChart for .NET version.

In case you have any question about that don't hesitate to post it here.

Also notice there's a new maintenance release available at the client area.