IEC_BACNET_WRITE_FILE_INFO (STRUCT)ΒΆ

TYPE IEC_BACNET_WRITE_FILE_INFO : STRUCT

The structure of the AtomicWriteFile service primitive.

The Write File data types transport the information for routines which generate and handle Atomic Write File service requests. The BACNET_WRITE_FILE_INFO data type contains the information for a Write File application hook. This data type contains three fields: an object identifier of the File object, an Access Type of data type BACNET_FILE_ACCESS_TYPE which may be either FILE_ACCESS_STREAM or FILE_ACCESS_RECORD, and a Write File Data field of data type BACNET_WRITE_FILE_DATA.

InOut:

Name

Type

Comment

fileID

IEC_BACNET_OBJECT_ID

This parameter is the Object_Identifier of the File object that identifies the file to be written.

accessType

IEC_BACNET_FILE_ACCESS_TYPE

Describes the type of the access made in the AtomicWriteFile service

request

IEC_BACNET_WRITE_FILE_DATA

Specifies the structure to write data to file objects