TiPlotComponent.LogDeactivate

TiPlotComponent See Also

Deactivates the log for the main plot interface.

procedure LogDeactivate();

Description

Call LogDeactivate to stop logging of all channel data to the log file specified by LogFileName. If the log is not currently active, then an exception will be raised. Use LoggingActive to determine whether the log is active or not.

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 LogDeactivate logging feature off of each individual channel.

Note: if the log is deactivated, the buffer will automatically be flushed to the log file and cleared.

Example

Delphi

iComponent.LogDectivate(); //Deactivates Log

C++ Builder

iComponent->LogDectivate(); //Deactivate Log

Contents | Index | Previous | Next