TiStripChart.SetChannelsData
TiStripChart See Also
Used to set the data for a range of channels at a specific time index.
procedure SetChannelsData(Index : Integer; Data : Variant);
Description
Use SetChannelsData to set the data for a range of channels at a specific time
index. The variant must be a 1 dimensional array, start at 0, and must not
contain more elements than the number of channels. If the number of elements in
the array is less than the number of channels, then only channels up to the
number of data points in the array are updated
The index value must be a valid TimeIndex or an exception will be raised.
Normally you will first add a TimeIndex using one of the AddIndexTime methods and
then call this method passing along the Index returned from one of the
AddIndexTime methods. You can pass -1 for the Index to specify the latest time index.
Example
Delphi
iComponent.SetChannelsData(45, ValueArray);
C++ Builder
iComponent->SetChannelsData(45, ValueArray);
Note: The Index value is 0 based.
Contents | Index | Previous | Next