Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

WriteItem

Specifies an item to be written to the server. More...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13

Properties

Detailed Description

This type is used to specify items to be written to the server using the function Connection::writeNodeAttributes.

Property Documentation

attribute : Constants.NodeAttribute

Determines the attribute of the node to be written.


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.


serverTimestamp : datetime

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.


sourceTimestamp : datetime

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.


statusCode : OpcUaStatus

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.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded