CANstressWaitForFinished
Valid for: CANoe DEFunction Syntax
Description
Waits until the CANstress hardware is in the state Finished.Parameters
- timeout: Specifies a maximal time in milliseconds that is waited. At the latest after the expiration of this time, the function returns. Note: With timeout = 0 an infinite time is waited until the state Finished occurs. Thus the additional test procedure is blocked if the state Finished is not reached.
Return Values
- 0: If successful.
- -1: On occurrence of an internal error.
- -2: On return of the function due to a timeout.