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

ValueNode QML Type

Represents a value node from a server.

This type was introduced in QtOpcUa 5.12.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ValueNode QML Type

  • Import Statement: import QtOpcUa

  • Since:: QtOpcUa 5.12

  • Inherits:: Node

Detailed Description

 
Sélectionnez
import QtOpcUa as QtOpcUa

QtOpcUa.ValueNode {
    nodeId: QtOpcUa.NodeId {
        ns: "Test Namespace"
        identifier: "s=TestName"
    }
    connection: myConnection
}

A subscription will be created on the server in order to track value changes on the server.

See Also

See also NodeId, Connection, Node

Property Documentation

 

[read-only] serverTimestamp : Date

Server timestamp of the value attribute.

[read-only] sourceTimestamp : Date

Source timestamp of the value attribute.

value : variant

Value of this node. Reading and writing this property will access the node on the server.

valueType : variant

Type type of this node. The initial value will be QtOpcUa.Constants.Undefined and be fetched from the server when the first connection is established. Any value will be written to the server as the specified type.

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