Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_DelayTxTpEoma

Iso11783IL_DelayTxTpEoma

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_DelayTxTpEoma(long timeout); //Form 1
  • long Iso11783IL_DelayTxTpEoma(dbNode node, long timeout); //Form 2

Description

Delays transmitting of the (E)TP.EoMA (End Of Message Acknowledgement) message generated and sent by the interaction layer. The EoMA message is delayed every time until the CAPL function Iso11783IL_ILResetDelayedTxTpEoma is called. The delay time is added to the value set by Iso11783IL_SetNodeProperty(“EoMALatency”, …).

Parameters

  • timeout: Delay in milliseconds [1…3600000].
  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -3001: General Error
  • -3004: Parameter timeout must be greater than 0

Example

on start {
  long res;
  res = Iso11783IL_DelayTxTpEoma(200); // Delay TP.EoMA by 200 ms.
  if(res != 0)
  {
    write("An error occurred: %d", res);
  }
}