IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

WriteItem QML Type

Specifies an item to be written to the server.

This type was introduced in QtOpcUa 5.13.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

WriteItem QML Type

  • Import Statement: import QtOpcUa

  • Since:: QtOpcUa 5.13

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+