A UAVariable is a subtype of the UAInstance defined in. It represents a Variable Node. The fields in the UAVariable type are defined in Table F.8.

Table F.8 – UAVariable

Element

Type

Description

All of the fields from the UAInstance type described in F.7.

Value

Variant

The Value of the Node encoding using the UA XML wire encoding defined in 5.3.

If a Value is not provided and a UANodeSet is used to initialize a Server AddressSpace then the Server shall report a StatusCode of Bad_NoValue or choose a default Value consistent with the DataType and ValueRank.

Translation

TranslationType []

A list of translations for the Value if the Value is a LocalizedText or a structure containing LocalizedTexts.

This field may be omitted.

If the Value is an array the number of elements in this array shall match the number of elements in the Value. Extra elements are ignored.

If the Value is a scalar, then there is one element in this array.

If the Value is a structure, then each element contains translations for one or more fields identified by a name. See the TranslationType for more information.

DataType

NodeId

The data type of the value.

ValueRank

ValueRank

The value rank.

If not specified, the default value is -1 (Scalar).

ArrayDimensions

ArrayDimensions

The number of dimensions in an array value.

AccessLevel

AccessLevel

The access level.

This value is a UInt32 that includes all of the bits exposed by the AccessLevelEx. Servers which do not support the additional bits in AccessLevelEx should ignore them.

UserAccessLevel

AccessLevel

Not used. Kept in schema for backward compatibility.

MinimumSamplingInterval

Duration

The minimum sampling interval.

Historizing

Boolean

Whether history is being archived.