OPC Studio User's Guide and Reference
ReadFunction Method



OpcLabs.ServerOpcUA Assembly > OpcLabs.EasyOpc.UA.NodeSpace Namespace > UADataVariableExtension Class : ReadFunction Method
Modifies the data variable to provide attribute data for the pull data provision model by a specified function.

This method always makes the data variable readable, but that does not mean it automatically makes it non-writable. If you need a data variable that is readable and non-writable, combine this method with calling Writable(UADataVariable,Boolean) method with the 'writable' parameter set to false.

Overload List
OverloadDescription
Specifies value type, and read function returning attribute data, for the pull data provision model.  
Specifies value type code, and read function returning attribute data, for the pull data provision model.  
Specifies the data type Id, and read function returning attribute data, for the pull data provision model. Uses an empty array dimension list.  
Specifies the data type Id, array rank, and read function returning attribute data, for the pull data provision model.  
Specifies the data type Id, array dimension list, and read function returning attribute data, for the pull data provision model.  
Specifies read function returning typed attribute data, for the pull data provision model.  
Specifies read function returning typed attribute data, and array dimensions, for the pull data provision model.  
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