Skip to main content

TestGetWaitLinETFSingleResponseData

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

If LIN Event-triggered frame with a single response for the specified associated frame is the last event that triggers a wait instruction, the event content can be called up with this function. When the triggering event is a part of a wait instruction for joined events, the index parameter has to correspond to the return value of “testJoin…” function.

Parameters

  • apEvent: Event variable that is filled with current data from the bus.
  • index: Index of the joined event. It corresponds to the return value of “testJoin…” function.

Return Values

  • 0: Data access successful
  • -1: Data access could not be executed, the last event was not an awaited event

Example

TestWaitForLinETFSingleResponseTestJoinLinETFSingleResponseEvent