TiPlotChannelCustom.LogDeactivate
TiPlotChannelCustom See Also
Deactivates the log for the channel interface.
procedure LogDeactivate();
Description
Call LogDeactivate to stop logging of all data for the associated channel 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.
Note: Channels may be synchronous or asynchronous. If you are only using
synchronous data, you can use the LogDeactivate logging feature off of the main component interface to save all channel data to a single log file.
Note: if the log is deactivated, the buffer will automatically be flushed to the
log file and cleared.
Example
Delphi
iComponent.Channel[0].LogDeactivate(); //Deactivate Log
C++ Builder
iComponent->Channel[0]->LogDeactivate(); //Deactivate Log
Contents | Index | Previous | Next