ITrendStorageWriterBufferClient.InitializeBufferReader (METH)

METHOD InitializeBufferReader

This method will be called to initialize the according buffer client object. Please remark that it might be called several times (maybe initially and after each call to ITrendStorageWriterSupportsBufferClients.AttachBufferClient) but with similar arguments so it is ok to ignore possible afterwards calls. Additionally it should be synchronized internally as calls are possible from both the task of the trendrecording as well as from the task calling ITrendStorageWriterSupportsBufferClients.AttachBufferClient

InOut:

Scope

Name

Type

Comment

Input

xHasToSwap

BOOL

Indicates, whether the data has to be swapped or not

pAbsoluteTimestampProvider

POINTER TO TrendFbAbsoluteTimestampProvider

Instance, that converts relative timestamps to absolute timestamps

paitfTraceMgrVariables

POINTER TO ARRAY [0..0] OF ITraceMgrVariable

The variables of the trend recording

iCountVariables

INT

The effective size of the array above

udiCountSamples

UDINT

The number of samples, that the trend element displays