TiPlotChannelCustom.LogBufferSize

TiPlotChannelCustom See Also

Specifies the size of the log buffer used by the channel interface.

property LogBufferSize : Integer

Description

Use LogBufferSize to get or set the size of the log buffer. When logging is active, data will flow into the log buffer if the LogBufferSize is greater than 0. When the buffer is filled, then data will be written to the log file and the buffer cleared. This is useful if you want to regulate how often data is written to the log file. If this value is 0, then data is written to the log file after every new data point is added to the chart.

Note: Channels may be synchronous or asynchronous. If you are only using synchronous data, you can use the LogBufferSize 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].LogBufferSize := 25;

C++ Builder

iComponent->Channel[0]->LogBufferSize = 25;

Contents | Index | Previous | Next