Skip to main content

ILNodeSetPDUTimingCyclic

Valid for: CANoe DE • CANoe4SW DE

Note

  • This function is only supported if the following components are used:
    • AUTOSAR PDU Interaction Layer (AsrPDUIL.dll) at the corresponding transmit node in the Simulation Setup.
    • AUTOSAR ≥ 4.2 database.
  • This function can be used in a global node outside the node context of the IL and in test modules.

Function Syntax

long ILNodeSetPDUTimingCyclic (dbMsg dbMessage, long TrueOrFalse, long offset, long period, long disturbanceCount, long flags)

Description

Overrides the defined cyclic-timing from the database. Possibly two timings (False and True) exist in parallel and are selected upon the current transmission mode of the PDU.

Parameters

  • dbMessage: The symbolic name of a PDU in the database.
  • TrueOrFalse:
    • 0: denotes the False timing
    • 1: denotes the True timing
    • 3: denotes the True and the False timing
  • offset: Defines the delay in [ms] from now when the first cyclic transmission will start.
  • period: Defines the period in [ms] for the cyclic transmission.
  • disturbanceCount: Reserved/unused; should be set to -1 (infinite)
  • flags: Reserved; should be set to 0.

Return Values

  • 0: No error
  • -10000: Unspecific error
  • -10001: Node or module not found
  • -10002: No suitable module available
  • -10003: Function is not supported by module
  • -10004: Module returns illegal value
  • other: Error in module

Example