TiPlotChannelCustom.LogActivate
TiPlotChannelCustom See Also
Activates the log for the channel interface.
procedure LogActivate(Append: Boolean);
Description
Call LogActivate to create and begin logging of all data for the associated
channel to the log file specified by LogFileName.
If FALSE is passed, then a new file will be created.
If TRUE is passed, then the log will be appended to the existing file. If the
file doesn't exist in append mode, then an exception will be raised.
This file is in tab separated format. The first column is X Data and the
second column is Y Data.
Note: Channels may be synchronous or asynchronous. If you are only using
synchronous data, you can use the LogActivate logging feature off of the main component interface to save all channel data to a single log file.
Example
Delphi
iComponent.Channel[0].LogActivate(False); //Activate Log, No Append
C++ Builder
iComponent->Channel[0]->LogActivate(FALSE); //Activate Log, No Append
Contents | Index | Previous | Next