'Declaration
<ExtensionAttribute()> <CanBeNullAttribute()> Public Overloads Shared Function WaitForItemValue( _ ByVal client As IEasyDAClient, _ ByVal serverDescriptor As ServerDescriptor, _ ByVal itemDescriptor As DAItemDescriptor, _ ByVal groupParameters As DAGroupParameters _ ) As Object
'Usage
Dim client As IEasyDAClient Dim serverDescriptor As ServerDescriptor Dim itemDescriptor As DAItemDescriptor Dim groupParameters As DAGroupParameters Dim value As Object value = IEasyDAClientExtension2.WaitForItemValue(client, serverDescriptor, itemDescriptor, groupParameters)
[Extension()] [CanBeNull()] public static object WaitForItemValue( IEasyDAClient client, ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, DAGroupParameters groupParameters )
[Extension()] [CanBeNull()] public: static Object^ WaitForItemValue( IEasyDAClient^ client, ServerDescriptor^ serverDescriptor, DAItemDescriptor^ itemDescriptor, DAGroupParameters^ groupParameters )
Parameters
- client
- The client object that will perform the operation.
- serverDescriptor
- The OPC server involved in the operation.
- itemDescriptor
- The OPC-DA item involved in the operation.
- groupParameters
- Contains subscription parameters, such as the requested update rate.
Return Value
If successful, the function returns the actual value of OPC item requested.