TiStripChart.AddIndexTimeNow

TiStripChart See Also

Adds a new index time and returns a time index used for adding channel data.

function AddIndexTimeNow : Integer;

Description

Call AddIndexTimeNow to add a new time index. The XAxis value of the time index will be set to Now (Current Date/Time). Store the return time index from the function for adding channel data. Use AddIndexTime if you want to specify the XAxis value. Use AddIndexTimeElapsedNow if you want the method to calculate the elapsed time since the last time ResetElapsedStartTime method was called.

Example

Delphi

TimeIndex := iComponent.AddIndexTimeNow;

C++ Builder

TimeIndex = iComponent->AddIndexTimeNow();

Contents | Index | Previous | Next