ar_board_test

short ar_board_test (short board, short testType);

Purpose

This function performs a single message internal or external wrap test on each matched ARINC 429 transmit/receive channel pair, followed by a reset of the board and API.

Parameters

Input

Name

Type

Description

board

short

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

testType

short

(input) The type of test to execute. Valid values for this parameter are:  

    INTERNAL_WRAP (4)

    EXTERNAL_WRAP (5)

If testType is not set to one of the options above, this function will default to execution of an external wrap test.

Return Value

Name

Type

Description

status

short

status of the function call, with valid values of:
ARS_NORMAL                  Success.
ARS_INVBOARD              The board parameter value was invalid.

ARS_BOARD_MUTEX        Access to the Board Lock timed-out/failed.
ARS_MEMWRERR             A memory test failure was encountered.

ARS_WRAP_DROP_FAIL   A transmitted ARINC 429 message was dropped.
ARS_WRAP_DATA_FAIL   A transmit/receive ARINC 429 message mismatch was encountered.
ARS_WRAP_FLUSH_FAIL  An Unknown external ARINC 429 message was received.

ARS_XMITOVRFLO           A transmit buffer overrun was encountered.

References

Initialization Functions
Alphabetical Function Index
Hierarchical Function Index

CEI-x30 API Description