WriteItem QML Type
Specifies an item to be written to the server. More...
|Import Statement:||import QtOpcUa .|
- attribute : Constants.NodeAttribute
- indexRange : string
- ns : variant
- serverTimestamp : datetime
- sourceTimestamp : datetime
- statusCode : OpcUaStatus
- value : variant
- valueType : variant
This type is used to specify items to be written to the server using the function Connection::writeNodeAttributes.
indexRange : string
Determines the index range of the attribute to be written. If not needed, leave this property empty.
ns : variant
Determines the namespace of the node to be written. The namespace can be given by name or index. If this property is given, any namespace in the node id will be ignored.
Sets the server timestamp for the value to be written. If the server timestamp is invalid, it is ignored by the client and not sent to the server. If the server doesn't support writing timestamps, the write operation for this item will fail.
Sets the source timestamp for the value to write. If the source timestamp is invalid, it is ignored by the client and not sent to the server. If the server doesn't support writing timestamps, the write operation for this item will fail.
Sets the status code for the value to write. If no status code is set, no status code is sent to the server.
value : variant
Actual data that is requested to be written.
valueType : variant
If given, the type information will be used in converting the value to a SDK specific data type.
© 2022 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.