Skip to main content
Open topic with navigation

Iso11783IL_ResetDelayedTxTpDt

CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_ResetDelayedTxTpDt

Tool Availability

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Resets all DT messages that were delayed with Iso11783IL_DelayTxTpDt.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = Iso11783IL_DelayTxTpDt(6, 4, 200); // Delays four TP.DT messages by 200 ms, starting with packet no. 6.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}
on key 'a'{
  long res;
  res = Iso11783IL_ResetDelayedTxTpDt(); // Resets all delayed TP.DT messages.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}