Multi Thread

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
PoLabs
Newbie
Newbie
Posts: 28
Joined: Wed Jun 06, 2007 12:00 am

Multi Thread

Post by PoLabs » Fri Oct 10, 2008 9:34 am

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

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

Post by Narcís » Fri Oct 10, 2008 9:40 am

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.
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

PoLabs
Newbie
Newbie
Posts: 28
Joined: Wed Jun 06, 2007 12:00 am

Post by PoLabs » Sat Oct 11, 2008 1:48 pm

Well I must have something missed becouse I cannot find it. I am using TeeChart v7.07. Has this version included that example?

tnx.

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

Post by Narcís » Mon Oct 13, 2008 9:59 am

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.
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