CANstressWaitForPending
Valid for: CANoe DEFunction Syntax
Description
Waits until the CANstress hardware is in the state Pending.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 Pending occurs. Thus the additional test procedure is blocked if the state Pending 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.