AttributeValue#
- class AttributeValue#
Bases:
objectAn attribute sample with its value, status, and timestamps.
A missing or Null value yields
None. Checkstatusfor sample quality. Bad or Uncertain quality can accompany a readable value. If accessingvalueraises a conversion error, the status and timestamps are still available.Attributes
The attribute associated with this result.
Original server fractional field, in units of 10 picoseconds.
Native server timestamp, without the fractional field.
Server Unix nanoseconds, including the truncated fractional field.
Original source fractional field, in units of 10 picoseconds.
Native source timestamp, without the fractional field.
Source Unix nanoseconds, including the truncated fractional field.
Original sample quality; defaults to Good when absent.
The semantic payload.
- attribute_id#
The attribute associated with this result.
- Type:
- server_unix_timestamp#
Server Unix nanoseconds, including the truncated fractional field.
- Type:
int | None
- source_unix_timestamp#
Source Unix nanoseconds, including the truncated fractional field.
- Type:
int | None
- status#
Original sample quality; defaults to Good when absent.
- Type:
- value#
The semantic payload.
- Raises:
OpcUaError –
BadTypeMismatchfor an incompatible fixed attribute payload,BadNotSupportedfor unsupported types or dimensions, orBadOutOfRangefor an unrepresentable sampling interval.- Type:
object | None