TestJoinAnd
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TestJoinAnd(long aEventHandle1, long aEventHandle2); // form 1long TestJoinAnd(long aEventHandle1, long aEventHandle2, long aEventHandle3); // form 2long TestJoinAnd(dword aNumHandles, long aEventHandles[]); // form 3
Description
Adds a logical AND-expression of two or more events that were previously joined to the current set of “joined events”. Combined with TestJoinOr, 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 aEventHandle.
- 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