Realtime update of FastLine

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Zephyr
Newbie
Newbie
Posts: 1
Joined: Mon Feb 20, 2006 12:00 am
Location: Auckland, NZ
Contact:

Realtime update of FastLine

Post by Zephyr » Wed Oct 18, 2006 10:38 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Oct 19, 2006 8:17 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply