12 Standard DataTypes ToC Previous Next

12.36 UABinaryFileDataType ToC Previous Next index

This Structure DataType defines the base layout of an OPC UA Binary encoded file. The content of the file is the UABinaryFileDataType encoded as ExtensionObject.

The file-specific metadata is provided by the DataTypeSchemaHeader which is the base type for the UABinaryFileDataType Structure.

If the file is provided through a FileType Object, the MimeType Property of the Object shall have the value application/opcua+uabinary.

If the file is stored on disc, the file extension shall be uabinary.

The UABinaryFileDataType is formally defined in Table 271.

Table 271 – UABinaryFileDataType structure

Name Type Description
UABinaryFileDataType Structure Subtype of DataTypeSchemaHeader defined in 12.31.
   schemaLocation String    Reference to a file that contains the DataTypeSchemaHeader for the content of the file represented by an instance of this structure.   The schemaLocation is either a fully qualified URL or a URN which is a relative path to the file location.If the schemaLocation is provided, the DataType descriptions can be skipped but the namespaces used shall match the namespaces in the schema file.
   fileHeader KeyValuePair[] The file-specific header.
   body BaseDataType    The body of the file.   The DataTypes used in the body are described through the structureDataTypes, enumDataTypes and simpleDataTypes fields of the DataTypeSchemaHeader Structure which is the base type for the UABinaryFileDataType.DataTypes   defined by OPC UA can be omitted.

Its representation in the UABinaryFileDataType is defined in Table 272.

Table 272 – UABinaryFileDataType definition

Attributes Value        
BrowseName UABinaryFileDataType        
IsAbstract FALSE        
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of DataTypeSchemaHeader defined in 12.31.          
Conformance Units          
Base Info UaBinary File          

Previous Next