Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » File Server Interaction Layer (FS IL) » FSIL_DelayTxTpDpo

FSIL_DelayTxTpDpo

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long FSIL_DelayTxTpDpo(long dpoToBlock); //Form 1
long FSIL_DelayTxTpDpo(dbNode node, long dpoToBlock); //Form 2

Description

Delays transmitting of a ETP.DPO message generated and sent by the interaction layer. The message to be delayed is identified by its occurrences on the bus, starting at 1. The given DPO message is delayed every time until the CAPL function FSIL_ResetDelayedTxTpDpo is called.

Parameters

  • dpoToBlock: The ETP.DPO message that shall be blocked.
  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -3001: General Error
  • -3002: Parameter dpoToBlock must be greater than 0

Example

on start {
  long res;
  res = FSIL_DelayTxTpDpo(1); // Block the first ETP.DPO message
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}