Program Interface Library AR_EXECUTE_BIT
CEI-100/CEI-200/CEI-x20 User’s Manual 75
AR_EXECUTE_BIT
CEI_INT16 ar_execute_bit (CEI_INT16 board, CEI_INT16 test_type)
This routine executes a user-specified built-in-test operation. Only the
CEI-x20 API supports this function.
ARS_NORMAL Operation completed successfully.
ARS_INVBOARD Invalid board number.
ARS_BRDNOTLOAD The board must be launched before
executing the requested test.
ARS_INVARG Invalid test type parameter.
ARS_WRAP_DATA_FAIL Wrap test invalid data failure occurred.
ARS_WRAP_DROP_FAIL Wrap test missing data failure occurred.
ARS_FAILURE The requested built-in-test failed.
ARS_BOARD_MUTEX Failed to acquire/release the board lock.
board (input) the board number.
test_type (input) desired built-in-test operation. See
“Supported Built-In Tests” for details.
Supported Built-In Tests
AR_BIT_BASIC_STARTUP Performs all startup testing executed by
the AR_LOADSLV routine (dual-port
memory, the on-board processor, and the
on-board FPGA are tested). The board is
reinitialized during this test.
AR_BIT_PERIODIC Verifies that the board is running by
confirming that the on-board tick timer is
being properly incremented. The board
must be launched (by calling AR_GO)
prior to executing this test.
AR_BIT_INT_LOOPBACK Performs all start-up testing executed by
the AR_BIT_BASIC_STARTUP
operation. Then, an internal loopback
test of all ARINC 429 channel pairs (that
is, TX1->RX1, TX2->RX2, and so on) is
executed. Note that partnerless
receive/transmit channels in unbalanced
configurations (for example, the last 4
transmitters on a 4RX/8TX board) are
not included in the test. The board is
reinitialized during this test.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com