Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_ResetDelayedTxTpCts

Iso11783IL_ResetDelayedTxTpCts

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783IL_ResetDelayedTxTpCts(); // Form 1
long Iso11783IL_ResetDelayedTxTpCts(dbNode node); // Form 2

Description

Resets all CTS messages that were blocked with Iso11783IL_DelayTxTpCts.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = Iso11783IL_DelayTxTpCts(2, 200); // Delays second TP.CTS message for 200 ms.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}
on key 'a' {
  long res;
  res = Iso11783IL_ResetDelayedTxTpCts(); // Resets all delayed TP.CTS messages.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}