TiStripChart.AddIndexTimeElapsedNow
TiStripChart See Also
Adds a new index time and returns a time index used for adding channel data.
function AddIndexTimeElapsedNow : Integer;
Description
Call AddIndexTimeElapsedNow to add a new time index. The XAxis value of the
time index will be set to Now (Current Date/Time) minus the StartTime . The
StartTime is set by calling ResetElapsedStartTime method. Store the return time index from the function for adding channel
data. Use AddIndexTime if you want to specify the XAxis value. Use AddIndexTimeNow if you want the XAxis value to equal Now (Current Date/Time).
Example
Delphi
TimeIndex := iComponent.AddIndexTimeElapsedNow;
C++ Builder
TimeIndex = iComponent->AddIndexTimeElapsedNow();
Contents | Index | Previous | Next