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
xHasToSwapBOOLIndicates, whether the data has to be swapped or not
pAbsoluteTimestampProviderPOINTER TO TrendFbAbsoluteTimestampProvider
Instance, that converts relative timestamps to absolute timestamps
paitfTraceMgrVariablesPOINTER TO ARRAY [0..0] OF ITraceMgrVariable
The variables of the trend recording
iCountVariablesINTThe effective size of the array above
udiCountSamplesUDINTThe number of samples, that the trend element displays