TiStripChart.SetRingBufferSize

TiStripChart

Used to set the size of the ring buffer.

procedure SetRingBufferSize(Value : Integer);

Description

Use RingBufferSize to set the size of the data buffer used for storing channel data. By setting this property to a non-zero value, the ring buffer feature is enable. To disable the ring buffer feature, set this property to 0. The ring buffer will remain a constant size no matter how many data points are added to the channel and will act like a FIFO (First In First Out).

Note: The buffer size is for each channel in units of number of time indexes. If you have 10 channels and a ring buffer size of 1000, then there is 1000 time indexes alloted to each channel for a total of 10,000 data points in the entire chart.

Note: TotalMemoryUsed = (NumberOfChannels + 1) * (Double + Enumeration) * NumberOfTimeIndexes

Example

Delphi

iComponent.SetRingBufferSize(10000); //10000 data point Ring Buffer FIFO

C++ Builder

iComponent->SetRingBufferSize(10000); //10000 data point Ring Buffer FIFO

Contents | Index | Previous | Next