Skip to main content

TestWaitForDiagRequestSent

Valid for: CANoe DE • CANoe4SW DE Note
This function can only be called within a test module!

Function Syntax

Description

Waits until the previously sent request has been sent to the ECU.
This might be triggered by a call of the function Diag_DataCon() at the CAPL Callback Interface.

Parameters

  • request: Sent request
  • timeout [ms]: Maximum time that should be waited [ms]. Transmission of 0: no timeout controlling.

Return Values

  • < 0: An internal error occurred, e.g. a faulty configuration of the Diagnostic Layer.
  • 0: The timeout was reached, i.e. the event of interest did not occur within the specified time.
  • 1: The event occurred.

Example

Test Feature Set CAPL Functions