STRUCT_BACNET_WRITE_FILE_DATA_RECORD (STRUCT)¶
TYPE STRUCT_BACNET_WRITE_FILE_DATA_RECORD : STRUCT
Specifies the structure to write data to file objects.
The BACNET_WRITE_FILE_DATA data type holds an octet string to copy into the file. In the Stream case there are a Start Position parameter that indicates a start octet number from the beginning of the file at which the data shall start being written, and an Octet String field that is to be written to the file. In the Record case there are a Start Record Number field, a Record Count field that indicates a number of records to copy, and an Octet String field.
- InOut:
Name
Type
Comment
startRecord
This parameter, of type INTEGER, represents the number of records from the beginning of the file at which the data shall start being written. A ‘File Start Record’ of 0 is the first record of the file. A ‘File Start Record’ of -1 shall indicate the end of the current file, i.e. an append to file operation.
recordCount
This parameter, of type Unsigned, represents the number of records that shall be written to the file starting at the ‘File Start Record’.
recordData
POINTER TO IEC_BACNET_OCTET_STRING
This parameter consists of a List of OCTET STRINGs that is to be written to the file.