Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_ResetBlockedTxTpAbort

TCIL_ResetBlockedTxTpAbort

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long TCIL_ResetBlockedTxTpAbort(); //Form 1
  • long TCIL_ResetBlockedTxTpAbort(dbNode node); //Form 2

Description

Resets all CTS messages that were blocked with TCIL_BlockTxTpAbort.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = TCIL_BlockTxTpAbort(); // Block the TP.Abort message
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}
on key 'a' {
  long res;
  res = TCIL_ResetBlockedTxTpAbort(); // Resets blocked TP.Abort message.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}