En esta página

ValueNode QML Type

Representa un nodo de valor procedente de un servidor. Más información...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.12
Inherits:

Node

Status: Deprecated since 6.9

Este tipo está obsoleto desde QtOpcUa 6.9. Recomendamos encarecidamente no utilizarlo en código nuevo.

Propiedades

Descripción detallada

import QtOpcUa as QtOpcUa

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

Se creará una suscripción en el servidor con el fin de realizar un seguimiento de los cambios de valor en el servidor.

Véase también NodeId, Connection y Node.

Documentación de propiedades

serverTimestamp : Date [read-only]

Marca de tiempo del servidor del atributo «value».

sourceTimestamp : Date [read-only]

Marca de tiempo de origen del atributo «value».

value : variant

Valor de este nodo. Al leer y escribir esta propiedad, se accederá al nodo en el servidor.

valueType : variant

Tipo de este nodo. El valor inicial será « QtOpcUa.Constants.Undefined » y se recuperará del servidor cuando se establezca la primera conexión. Cualquier valor se escribirá en el servidor con el tipo especificado.

© 2026 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.