TestWaitForValueFloat
Syntax
long TestWaitForValueFloat(COValue value, float 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 a floating point data type. It cannot be used for system variables or bus system signals.
Parameters
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 = testWaitForValueFloat(MirrorStatus[CANoe].Temperature, 20.0, 200);
TestWaitForValueUInt | TestWaitForValueSInt | TestWaitForValue | TestWaitForValueString