I_BA_KeyValueFileWriter
An interface for writing key-value pairs to a persistent document.
Syntax
INTERFACE I_BA_KeyValueFileWriter
PROPERTY BufferReady : BOOL (Read)
PROPERTY Records : UDINT (Read)
PROPERTY RemainingBytes : UDINT (Read)
PROPERTY WrittenBytes : UDINT (Read)
METHOD WriteRecord
END_INTERFACE
Properties
Name | Type | Access | Definition location | Description |
|---|---|---|---|---|
BufferReady | BOOL | Get | Local | Indicates whether the write buffer is ready. |
Records | UDINT | Get | Local | Indicates how many records have been written to the current document so far. |
RemainingBytes | UDINT | Get | Local | The number of bytes (from the current segment) currently remaining to be written in the write buffer. |
WrittenBytes | UDINT | Get | Local | The number of bytes written to the current document so far. |
Further information
Workflow for providing data in the form of key-value pairs.
Methods