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

VTIL_BlockTxTpAbort

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long VTIL_BlockTxTpAbort(); //Form 1
  • long VTIL_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 VTIL_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 = VTIL_BlockTxTpAbort(1); // Block Abort
  if(res != 0)
  {
    write("An error occurred: %d", res);
  }
}