TiStripChart.ChannelData

TiStripChart See Also

Used to get or set an individual piece of data for a channel at a specific time index.

property ChannelData [Channel, Index: Integer] : Double;

Description

Use the ChannelData property to get or set an individual piece of data for a channel at a specific time index. The index value must be a valid TimeIndex or an exception will be raised. Normally you will first add a TimeIndex using the AddIndexTime method then iterate through all channels adding their individual data elements for that TimeIndex. You can pass -1 for the Index to specify the latest time index.

Example

Delphi

iComponent.ChannelData[1, 36] := 15.6; //Sets 2nd Channel 37th piece of Data

C++ Builder

iComponent->ChannelData[1][36] = 15.6; //Sets 2nd Channel 37th piece of Data

Note: The Channel and Index value are 0 based.

Contents | Index | Previous | Next