Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_ResetDelayededTxTpAbort

VTIL_ResetDelayededTxTpAbort

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Resets all Abort messages that were delayed with VTIL_DelayTxTpAbort.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = VTIL_DelayTxTpAbort(200); // Delays TP.Abort message for 200 ms.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}
on key 'a' {
  long res;
  res = VTIL_ResetDelayededTxTpAbort(); // Resets delayed TP.Abort message.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}