'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ReadItem( _ ByVal client As IEasyDAClient, _ ByVal itemArguments As DAItemArguments, _ ByVal readParameters As DAReadParameters _ ) As DAVtq
'Usage
Dim client As IEasyDAClient Dim itemArguments As DAItemArguments Dim readParameters As DAReadParameters Dim value As DAVtq value = IEasyDAClientExtension.ReadItem(client, itemArguments, readParameters)
[Extension()] [NotNull()] public static DAVtq ReadItem( IEasyDAClient client, DAItemArguments itemArguments, DAReadParameters readParameters )
[Extension()] [NotNull()] public: static DAVtq^ ReadItem( IEasyDAClient^ client, DAItemArguments^ itemArguments, DAReadParameters^ readParameters )
Parameters
- client
- The client object that will perform the operation.
- itemArguments
- Holds an OPC server and item descriptor.
- readParameters
- The read parameters (such as data source or value age).
Return Value
If successful, the function returns a DAVtq object. The object contains the value, timestamp and quality of the OPC item requested.