NodeId QML Type
Specifies a node by an identifier. More...
Import Statement: | import QtOpcUa |
Since: | QtOpcUa 5.12 |
Status: | Deprecated since 6.9 |
This type is deprecated since QtOpcUa 6.9. We strongly advise against using it in new code.
Properties
- identifier : string
- ns : string
Signals
Detailed Description
import QtOpcUa as QtOpcUa QtOpcUa.NodeId { identifier: "s=Example.Node" ns: "Example Namespace" }
Property Documentation
identifier : string |
Identifier of the node. The identifier has to be given in one of the following types.
Type | Example |
---|---|
Numeric | i=23 |
String | s=MyStringIdentifier |
GUID | g=08081e75-8e5e-319b-954f-f3a7613dc29b |
Opaque (base64) | b=UXQgZnR3IQ== |
It is possible but not recommended to include the namespace index ns=X;s=...
. In this case the given namespace index is internally stripped off the identifier and set to the namespace property.
ns : string |
Namespace of the node identifier. The identifier can be the index as a number or the name as string. A string which can be converted to an integer is considered a namespace index.
Signal Documentation
nodeChanged() |
Emitted when the underlying node has changed. This happens when the namespace or identifier has changed.
Note: The corresponding handler is onNodeChanged
.
© 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.