OPC Studio User's Guide and Reference
WriteLoopback Property



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UADataVariable Class : WriteLoopback Property
Determines whether successfully written data will become the read data for subsequent operations.
Syntax
'Declaration
 
Public Property WriteLoopback As Boolean
'Usage
 
Dim instance As UADataVariable
Dim value As Boolean
 
instance.WriteLoopback = value
 
value = instance.WriteLoopback
public bool WriteLoopback {get; set;}
public:
property bool WriteLoopback {
   bool get();
   void set (    bool value);
}

Property Value

true if write operations on the variable should loop back as the new read value; otherwise, false.

The default value of this property is True.

Remarks

When set to true, any successful write operation to this variable will update the variable's current value, making it immediately available for read operations. This simulates a direct feedback loop where the last written value becomes the current state of the variable.

The write loopback behavior is mainly used with the Push Data Provision Model.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also