OPC Studio User's Guide and Reference
ReadItem Method (IEasyDAClientExtension)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > IEasyDAClientExtension Class : ReadItem Method
Reads an OPC-DA item. Value, quality and timestamp are returned.

The ReadItem method reads the data of an OPC-DA item. It uses the first available data from the server; it does not wait until the quality becomes "uncertain" or "good".

The server(s) can be local or can be remotely accessed via DCOM.

Optionally, a specific data type can be requested, or an access path can be specified (OPC DA 1.0 only).

Overload List
OverloadDescription
Reads a named item using an item arguments objects, and read parameters. Value, quality and timestamp are returned.  
Reads a named item using an object that holds all necessary arguments. Value, quality and timestamp are returned.  
Reads a named item using descriptor objects for the OPC server and OPC-DA item. Value, quality and timestamp are returned.  
Reads a named item using descriptor objects for the OPC server and OPC-DA item, and specifying read parameters such as the data source or value age. Value, quality and timestamp are returned.  
Reads a named item using individual parameters specifying its location, and a specific data type.  
Reads a named item using individual parameters specifying its location, a specific data type, and value age. Value, quality and timestamp are returned.  
Reads a named item using individual parameters specifying its location, and using server's canonical data type. Value, quality and timestamp are returned.  
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