TiPlotComponent.LogActivate
TiPlotComponent See Also
Activates the log for the main plot interface.
procedure LogActivate(Append : Boolean);
Description
Call LogActivate to create and begin logging of all channel data 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.
Warning! All channels must be synchronized. You must use the AddDataArray method when adding data to the plot component when using the main plot
interface's logging feature. If you wish to use asynchronous channels, then you must
use the LogActivate logging feature off of each individual channel.
Example
Delphi
iComponent.LogActivate(False); //Activate Log, No Append
C++ Builder
iComponent->LogActivate(FALSE); //Activate Log, No Append
Contents | Index | Previous | Next