ar_put_573_frame

short ar_put_573_frame (short board, unsigned int numberWords, unsigned int * transmitCount, unsigned short * arincData);

Purpose

This function attempts to transfer numberWords of ARINC 573/717 data from the arincData source to the device ARINC 573/717 transmit buffer.  The amount of data transferred to the transmitter is based on what is available in the buffer, with the actual number of words transferred indicated in the return value of transmitCount.     

Parameters

Input

Name

Type

Description

board

short

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

numberWords

unsigned int

(input) The number of messages to transmit.

arincData

unsigned short  (passed by reference)

(input) Array supplying the 12-bit ARINC frame data words.

The format of each data word in the source ARINC 573/717 frame is defined as follows:

b15 – b12

b11 - b0

RESERVED

data

 

data: the 12-bit ARINC 573/717 data word.

 

Output

 

 

Name

Type

Description

transmitCount

unsigned int (passed by reference)

(output) The number of messages actually transmitted.

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       The specified board does not support ARINC 573/717 transmission.
ARS_BOARD_MUTEX Access to the Board Lock timed-out/failed.

References

Transmit Data Processing Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description