Program Interface Library
AR_MSG_CONTROL
CEI-100/CEI-200/CEI-
x20 User’s Manual
116
AR_MSG_CONTROL
CEI_INT16 ar_msg_control (CEI_INT16 board, CEI_INT16 control)
This routine selects the type of transmission logic used by the ARINC
board. Two types of transmission logic are supported by the interface:
Burst mode (default)
Scheduled mode.
In Burst mode, the slave processor provides an individual circular buffer
for each transmit channel. When data is placed into the transmit buffer by
the host computer, it is transmitted immediately by the slave. Data is
transmitted as fast as possible until all data in the transmission buffer is
sent.
In Scheduled mode, the ARINC interface is responsible for the repetitive
transmission of the ARINC data. Once a message is defined to the board
and the board is started, the on-board processor handles all message
scheduling and transmission, freeing the host computer to perform other
processing.
Burst mode is supported by all devices, and scheduled mode is supported
by the CEI-200/220/420/420A/520/520A/620/820/820TX.
When using the Enhanced API with a CEI-520/520A/620/820/820TX,
each transmitter supports both Scheduled and Burst transmission modes
concurrently. No call to AR_MSG_CONTROL is necessary when using
the Enhanced API. AR_MSG_CONTROL resets the contents of the
scheduled message list for each specified channel when called under the
Enhanced API.
To enable scheduled transmission mode in conjunction with a CEI-
200/220/420/420A board, this routine must be called. It can be called at
any time after AR_LOADSLV and prior to starting the board with
AR_GO. It must also be called prior to AR_DEFINE_MSG. The two
transmission modes (Scheduled and Burst) are mutually exclusive on the
CEI-200/220/420/420A. When switching between modes, the function
AR_INIT_DUAL_PORT should be called to clear the previous setup from
RAM before starting the board with AR_GO.
Syntax
Description
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com