PlotLab VCL
How to pull data from TSLScope
Thread Starter: John Theos Started: 11/12/2007 1:24 AM UTC
Replies: 3
How to pull data from TSLScope
I have recently upgraded to version 3.1 and have the same question as I had before (with version 2.2.1)

Is there a way to download the data from the oscilloscope?  I know how to write data, but would like the option to 'download' the data for storing to a file.  Is there a way??

Thanks
Re: How to pull data from TSLScope
Hi John,

AScope.Channels[ 0 ].Data.GetSize();
AScope.Channels[ 0 ].Data.GetXData( DataPtr );
AScope.Channels[ 0 ].Data.GetYData( DataPtr );
AScope.Channels[ 0 ].Data.GetXYData( XDataPtr, YDataPtr );

Cheers,
   Boian

John Theos wrote:
I have recently upgraded to version 3.1 and have the same question as I had before (with version 2.2.1)
Is there a way to download the data from the oscilloscope?  I know how to write data, but would like the option to 'download' the data for storing to a file.  Is there a way??
Thanks
Re: How to pull data from TSLScope
BTW: Check also GetDrawSize(), GetDrawXData, GetDrawYData, and GetDrawXYData .

John Theos wrote:
Is there a way to download the data from the oscilloscope?  I know how to write data, but would like the option to 'download' the data for storing to a file.  Is there a way??
Re: How to pull data from TSLScope

I tried to use these properties, but it doesnt work.

Can you make an example in delphi source?

Thanks