RelativeNodeId QML Type

Specifies a relative node by a start node and a path. More...

Import Statement: import QtOpcUa .
Since: QtOpcUa 5.12

Properties

Detailed Description

Proceeding from the given start node, the server tries to match the content of the path property to any existing nodes on the server. Only if the path fully matches to exactly one single target node, it will be used. Partial or multiple matches can not be handled and are treated as error.

import QtOpcUa 5.13 as QtOpcUa

QtOpcUa.RelativeNodeId {
    startNode: QtOpcUa.RelativeNodeId {
            identifier: "s=Example.Node"
            ns: "Example Namespace"
         }
    path: [ QtOpcUa.RelativeNodePath {
                ns: "Test Namespace"
                browseName: "SomeName"
            }
            ...
        ]
    }
}

See also NodeId and Node.

Property Documentation

path : list

Search path for the designated node. This is a list of OpcUaRelativeNodePath objects specifying the path where the target node can be found relative to the start node.


startNode : NodeId

Namespace of the node identifier. The start node specifies the node where resolving the path starts. It can be an absolute or relative node ID.

See also NodeId and RelativeNodeId.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.