TestWaitForAnyJoinedEvent
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE NoteRegardless of how the wait point was discontinued, afterwards the set of “joined events” is empty. That is, waiting for “joined events” always empties the previously defined set of “joined events”.
Function Syntax
Description
Waits for the current set of “joined events.” Each individual of these events can resolve the wait state. Should none of the events occur before the expiration of the time aTimeout, the wait condition is resolved nevertheless.Parameters
- aTimeout
Maximum time that should be waited [ms]
(Transmission of 0: no timeout controlling)
Return Values
- -2
Resume due to constraint violation - -1
General error, for example, functionality is not available - 0
Resume due to timeout - > 0
Resume due to event occurred The return value returns the number of the joined event that triggered the resolution.