Skip to main content
Open topic with navigation Structure Path: CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_ResetDelayedTxTpDpo

Iso11783IL_ResetDelayedTxTpDpo

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Resets all DPO messages that were blocked with ISO11783IL_DelayTxTpDpo.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = ISO11783IL_DelayTxTpDpo(1, 2, 20); // Delay the first two ETP.DPO messages for 20 ms
  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 = ISO11783IL_ResetDelayedTxTpDpo(); // Resets all blocked ETP.DPO messages.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}