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

TCIL_BlockTxTpAbort

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Prevents transmitting of the (E)TP.Abort message generated and sent by the interaction layer. The Abort message is blocked every time until the CAPL function TCIL_ResetBlockedTxTpAbort is called. After blocking the Abort message, the Interaction Layer silently closes the connection without sending further messages.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -3001: General Error

Example

on start {
  long res;
  res = TCIL_BlockTxTpAbort(1); // Block Abort
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}