'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ReadItem( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal itemDescriptor As DAItemDescriptor, _ ByVal readParameters As DAReadParameters _ ) As DAVtq
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim itemDescriptor As DAItemDescriptor Dim readParameters As DAReadParameters Dim value As DAVtq value = IEasyDAClientExtension.ReadItem(client, serverDescriptor, itemDescriptor, readParameters)
[Extension()] [NotNull()] public static DAVtq ReadItem( IEasyDAClient client, ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, DAReadParameters readParameters )
[Extension()] [NotNull()] public: static DAVtq^ ReadItem( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DAItemDescriptor^ itemDescriptor, DAReadParameters^ readParameters )
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.
- readParameters
- Read parameters, such as the 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.