Hi All
I'm doing some real time charting. I have 8 sensors that are read with a frequency of 100 Hz. Using a TTimer I update a TChart with a frequency of 5 Hz. The users want to see 100000 points on the graph for each sensor. As the charting is supposed to continue for several days so I got to delete or overwrite old points.
I have looked at the real time guidelines on the www, and thus uses fastlines, no autorepaint etc. Everything is OK until I start to delete points (I uses delete(0,10000)) for the sensors. The delete operation take so long time that it’s not possible to use the program for several seconds and sometimes the program even crashes!
System: TeeChart 7 and Builder 6, Win XP
Have anybody tried a kind of circular buffering to overcome this kind of problem? Or is there other kind of solutions?
Any help on this will be greatly appreciated, Jørgen
Real time charts
Hi Jorgen,
would you be so kink to sent un example with which we can reproduce the problem "as is" here ? (you can post it into the public.steema.attachments newsgroup or send it directly to my account pep@steema.com ).
would you be so kink to sent un example with which we can reproduce the problem "as is" here ? (you can post it into the public.steema.attachments newsgroup or send it directly to my account pep@steema.com ).
Pep Jorge
http://support.steema.com
http://support.steema.com