Page 1 of 1

Multi Thread

Posted: Fri Oct 10, 2008 9:34 am
by 9245460
Hi,

I have a question. I am writing multithread application. One thread is for reading data from device and other is meant to represent data on graphs or save data to files (i haven't program that already so it is only idea). I saw in articel about real-time charting

// When using only a single thread, disable locking:
Chart1.Canvas.ReferenceCanvas.Pen.OwnerCriticalSection := nil;
Series1.LinePen.OwnerCriticalSection := nil;


Well I wonder how to use that kind of locking? Is there any concrete example how to use it with TeeChart and TFastLineSeries?

Thank you

Aljosa

Posted: Fri Oct 10, 2008 9:40 am
by narcis
Hi Aljosa,

Besides the example at the article you can also find an example of this at All Features\Welcome!\Speed\Fast Delete and Fast Pen in the new features, available at TeeChart's program group created by the binary installers.

Posted: Sat Oct 11, 2008 1:48 pm
by 9245460
Well I must have something missed becouse I cannot find it. I am using TeeChart v7.07. Has this version included that example?

tnx.

Posted: Mon Oct 13, 2008 9:59 am
by narcis
Hi PoLabs,

Yes, this examples is included in this version too. You'll find the example at the new features demo available at the TeeChart's program group created by the binary installers.