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

VTIL_ResetBlockedTxTpEoma

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Resets all EoMA messages that were blocked with VTIL_BlockTxTpEoma.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

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