Program Interface Library AR_INIT_DUAL_PORT
CEI-100/CEI-200/CEI-x20 User’s Manual 105
AR_INIT_DUAL_PORT
CEI_INT16 ar_init_dual_port (CEI_INT16 board);
This function is defined for the CEI-x20 only. It doesn’t exist in the CEI-
100/200 libraries. This routine first calls AR_RESET. It then initializes
all of the all ARINC related queue structures, buffers, and word counts.
All data structures are initialized, for all channels. It has the side effect of
flushing out the data buffers. If you are using scheduled transmission
mode, this routine clears your message setup for all channels.
If the board supports ARINC 573/717, the FRAME mode parameters are
not altered.
ARS_NORMAL The interface was properly initialized.
ARS_INVBOARD A board number out of the maximum
range was specified.
ARS_BRDNOTLOAD The requested board was not loaded first
with a call to AR_LOADSLV.
ARS_BOARD_MUTEX Failed to acquire/release the board lock.
board (input) number of the board of interest
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com