Skip to main content
Open topic with navigation

FSIL_ResetBlockedTxTpDpo

CAPL Functions » ISO11783 » File Server Interaction Layer (FS IL) » FSIL_ResetBlockedTxTpDpo Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Resets all DPO messages that were blocked with FSIL_BlockTxTpDpo.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = FSIL_BlockTxTpDpo(1); // Block the first ETP.DPO message
  if(res != 0)
  {
    write("An error occurred: %d", res);
  }
}
// Reset blocked ETP.DPO messages by pressing ‘a’ on the keyboard.
on key 'a'{
  long res;
  res = FSIL_ResetBlockedTxTpDpo(); // Resets all blocked ETP.DPO messages.
  if(res != 0)
  {
    write("An error occurred: %d", res);
  }
}