TestWaitForValueUInt
Syntax
long TestWaitForValueUInt(COValue value, qword awaitedValue, dword timeoutMs)
Function
Waits for a communication object value to reach a certain value. This function can only be used for communication object values with an unsigned integer data type. It cannot be used for system variables or bus system signals.
Parameters
COValue Value of a communication object.
awaitedValue
Value which is awaited.
timeoutMS
Timeout in milliseconds.
Return Values
-2: Resume due to constraint violation
-1: General error, for example, functionality is not available
0: Resume due to timeout
1: resume due to event occurred (value has been reached)
long ret;ret = testWaitForValueUInt(ErrorSignal[LeftMirror], 1, 200);
TestWaitForValue | TestWaitForValueSInt | TestWaitForValueFloat | TestWaitForValueString