testGetWaitEthernetPacketData
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
If a valid Ethernet packet is the last event that triggers a wait instruction, the packet’s content can be called up with form 1. Form 2 can only be used for “joined events”. The number of the “joined event” (return value of “testJoin…”) is here being used as an index.Parameters
- aPacket: An ethernetPacket variable that should be filled in with this function.
- Index: Number of the “joined event” corresponds with the return value of “testJoin…”.
Return Values
- 0: Data access successful
- -1: Data access could not be executed, the last event was not an Ethernet packet event