short ar_get_429_message (short board, short channel, short waitState, void * data, void * timeTag);
This function retrieves the most stale unread ARINC 429 message and 32-bit time-tag from the specified channel receive buffer. If "wait" is specified and no messages are present in the receiver buffer, this function attempts to retrieve data for up to one-half second. If no data is present after one-half second, a time-out status is returned. If "no wait" is specified and no data is available, the return status will indicate “no data”.
Input |
||
Name |
Type |
Description |
board |
short |
(input) Device Number of the board to reference, (valid range is 0-15). |
channel |
short |
(input) Specifies which receive channel this routine is to access. Valid range is 0 to one less than the installed ARINC 429 receive channel count. |
waitState |
short |
(input) Specifies whether or not to wait for 1/2 second for
data to be received if no data is available in the receiver FIFO on
invocation. |
Output |
|
|
Name |
Type |
Description |
data |
any type (passed by reference) |
(output) The received ARINC 429 message. |
timeTag |
any type (passed by reference) |
(output) The time-tag associated with the received ARINC 429 message, (resolution is based on the current programmed timer reference). |
Name |
Type |
Description |
status |
short |
status of the function
call, with valid values of: ARS_INVARG The data parameter reference was NULL. ARS_BOARD_MUTEX Access to the Board Lock timed-out/failed. ARS_BAD_MESSAGE Reception of an invalid length ARINC 429
message was detected. |
Receive Data Processing Functions
Alphabetical
Function Index
Hierarchical
Function Index