TiStripChart.AddData
TiStripChart See Also
Used to add a block of data to the strip chart for 1 or more channels.
procedure AddData(Interval: Double; Data : Variant);
Description
Call AddData to add a block of data to the strip chart for 1 or more channels.
The variant array must be 2-dimensional, the first dimension is the channel,
and the second dimension is the data. Because the timestamp is not passed in the
array, the interval parameter specifies the time interval between each data
when assigning a timestamp. The starting time stamp for the block of data is the
last data point timestamp stored in the channel plus the interval. The interval
value is in seconds.
Example
Delphi
iComponent.AddData(1, ValueArray); //1 second interval between each data point
C++ Builder
iComponent->AddData(1, ValueArray); //1 second interval between each data point
Contents | Index | Previous | Next