Subscribes to the specified OPC-DA item, and monitors its data until it has "good" quality, an error occurs, or the alloted time elapses.
DISPID (Dispatch ID):
For more information, see WaitForItemValue in .NET Reference.
DISPID (Dispatch ID):
For more information, see WaitForItemValue in .NET Reference.
Visual Basic |
---|
Public Function WaitForItemValue( _ ByVal machineName As String, _ ByVal serverClass As String, _ ByVal itemId As String, _ ByVal requestedUpdateRate As Long, _ ByVal millisecondsTimeout As Long _ ) As Variant |
See WaitForItemValue in .NET Reference.
For remarks, see WaitForItemValue in .NET Reference.
For examples, see WaitForItemValue in .NET Reference.