TestJoinOr
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TestJoinOr(long aEventHandle1, long aEventHandle2); // form 1long TestJoinOr(long aEventHandle1, long aEventHandle2, long aEventHandle3); // form 2long TestJoinOr(dword aNumHandles, long aEventHandles[]); // form 3
Description
Adds a logical OR-expression of two or more events that were previously joined to the current set of “joined events”. Combined with TestJoinAnd, an arbitrary logical expression can be formed. This function does not wait.Parameters
- aEventHandle1, aEventHandle2, aEventHandle3: Event handle that was returned by a previous
TestJoin…-function. - aNumHandles: Number of elements in aEventHandles.
- aEventHandles: List of event handles. Each handle has to be the return value of a previous
TestJoin…-function.
Return Values
- -3: Join error
- -2: Invalid event handle(s)
- -1: General error, for example, functionality is not available
- > 0: Number of the joined event