ar_putword

short ar_putword (short board, short channel, int data);

Purpose

This routine places the provided message data in the specified channel transmit buffer.  When this routine returns, the data has not necessarily been sent, it has only been placed in the transmit buffer.  If other data is in the transmit buffer ahead of it, this data will be transmitted in turn. If the specified transmit buffer is full, an overflow status is returned.

The channel value passed to this routine corresponds to the ARINC 429 transmit channel index, starting with zero.  If that value exceeds the 429 transmit channel count and an ARINC 573/717 transmitter exists, it is used as the designated transmit channel buffer.

Parameters

Input

Name

Type

Description

board

short

(input) Device Number of the board to reference, (valid range is 0-15).

channel

short

(input) Device channel number on which to transmit (valid range is 0 to one less than the installed ARINC 429 transmit channel count).

data

int

(input) The raw (32-bit) ARINC 429 message to transmit.

Return Value

Name

Type

Description

status

short

status of the function call, with valid values of:
ARS_NORMAL            Success.
ARS_INVBOARD        Invalid or uninitialized board.
ARS_INVHARVAL       Invalid transmit channel entry.
ARS_BOARD_MUTEX Access to the Board Lock timed-out/failed.
ARS_XMITOVRFLO    A transmit buffer overrun was encountered.

References

Transmit Data Processing Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description