Skip to main content

a429SetScheduleTx

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword a429SetScheduleTx( a429word myA429word, dword myCycle );

Description

Prepare an ARINC word to be transmitted cyclically by means of the hardware scheduling support. Calling this function modifies the selectors TxCycle and TxCtrl. Note: This modifies the ARINC word attributes only. For transmission call the function output.

Parameters

  • myA429word: ARINC word
  • myCycle: cycle time with microseconds resolution; value range [0 .. 600,000,000 (600 s)]; with 0 the behavior is switched to ON_REQ (see selector TxCtrl).

Return Values

  • 0: could not adapt cycle time; this happens, if
    • myCycle > 600,000,000
    • myCycle < ((32/Bitrate channel) + Gap time)
  • 1: cycle time was successfully adapted

Example