'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ReadItem( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal itemDescriptor As DAItemDescriptor _ ) As DAVtq
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim itemDescriptor As DAItemDescriptor Dim value As DAVtq value = IEasyDAClientExtension.ReadItem(client, serverDescriptor, itemDescriptor)
[Extension()] [NotNull()] public static DAVtq ReadItem( IEasyDAClient client, ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor )
[Extension()] [NotNull()] public: static DAVtq^ ReadItem( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DAItemDescriptor^ itemDescriptor )
Parameters
- client
- The client object that will perform the operation.
- serverDescriptor
- The OPC server involved in the operation.
- itemDescriptor
- The OPC item involved in the operation.
Return Value
If successful, the function returns a DAVtq object. The object contains the value, timestamp and quality of the OPC item requested.