Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
TestJoinJ1939PGEvent
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long TestJoinJ1939PGEvent (dbMsg aMessage)long TestJoinJ1939PGEvent (dword aPGN)long TestJoinJ1939PGEvent (dword aPGN, dword aSourceAddress, dword aDestinationAddress)
Description
Completes the current set of joined events with the transmitted event. This function does not wait. For waiting, either TestWaitForAllJoinedEvents or TestWaitForAnyJoinedEvent should be used depending on the requirement. To get the message content of a parameter group which triggered a wait condition you can use the function TestGetWaitJ1939PGData. Note: Dependent on the used parameter type the appropriate bus context in a multibus environment has only to be set before the function is called if the corresponding database object will be ambiguous. Further information on site MultiBus Environment.Parameters
- aMessage: Message that should be awaited. Must be a J1939 parameter group.
- aPGN: Parameter Group Number (with data page) of the message that should be awaited.
- aSourceAddress: Source address of the message that should be awaited or 0xFFFFFFFF if source address is ignored.
- aDestinationAddress: Destination address of the message that should be awaited or 0xFFFFFFFF if destination address is ignored.
Return Values
- -3: Join error
- -1: General error, for example, functionality is not available
- > 0: Number of the joined event