ReadResult QML Type | Qt OPC UA 6.4.1

- Qt 6.4
- Qt OPC UA
- QML Types
- ReadResult
- Qt 6.4.1 Reference Documentation

# ReadResult QML Type

Contains result data after reading from the server. More...

Import Statement: | import QtOpcUa
Since: | QtOpcUa 5.13

- List of all members, including inherited members

## Properties

- attribute : Constants.NodeAttribute
- indexRange : string
- namespaceName : string
- nodeId : string
- serverTimestamp : datetime
- sourceTimestamp : datetime
- status : Status
- value : variant

## Detailed Description

This type is used to pass the read data after reading from the server using the function Connection::readNodeAttributes.

## Property Documentation

[read-only] attribute : Constants.NodeAttribute

The node attribute of data that was read.

[read-only] indexRange : string

The index range of the data that was read.

[read-only] namespaceName : string

The namespace name of the node that was read.

[read-only] nodeId : string

The node id of the node that was read.

[read-only] serverTimestamp : datetime

The server timestamp of the data that was read.

[read-only] sourceTimestamp : datetime

The source timestamp of the data that was read.

[read-only] status : Status

Result status of this ReadResult. Before using any value of this ReadResult, the status should be checked for Status.isGood. To make sure the server has provided valid data.

[read-only] value : variant

Actual data that was requested to be read.