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

AttributeOperand QML Type

The OPC UA AttributeOperand type.

This type was introduced in QtOpcUa 5.13.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

AttributeOperand QML Type

  • Import Statement: import QtOpcUa

  • Since:: QtOpcUa 5.13

Detailed Description

The AttributeOperand is defined in OPC-UA part 4, 7.4.4.4. It has the same purpose as SimpleAttributeOperand but has more configurable options.

Property Documentation

 

alias : string

Alias name for the operand. This allows using this instance as operand for other operations in the filter.

browsePath : list<OpcUaNodeId>

Browse path to the node holding the attribute.

 
Sélectionnez
import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    browsePath: [
        QtOpcUa.NodeId {
            identifier: "Message"
            ns: "http://opcfoundation.org/UA/"
         }
         ...
    ]
}

indexRange : string

Index range string used to identify a single value or subset of the attribute's value.

 
Sélectionnez
import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    indexRange: "0:2"
}

nodeAttribute : Constants.NodeAttribute

Attribute of the node browsePath is pointing to. The default value is Constants.NodeAttribute.Value.

 
Sélectionnez
import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}

typeId : string

Node id of the type definition node. The operand will be of the type or one of its subtypes.

 
Sélectionnez
import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    typeId: "ns=0;i=2041"
}

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