Program Interface Library
AR_SET_RAW_MODE
CEI-100/CEI-200/CEI-
x20 User’s Manual
141
AR_SET_RAW_MODE
CEI_INT16 ar_set_raw_mode (CEI_INT16 board, CEI_INT16 direction,
CEI_INT16 channel, CEI_INT16 control);
Each transmit and receive channel can be configured to run in “raw”
mode. In this mode, parity isn’t used, and each 32-bit ARINC word is
transmitted or received with the parity (32nd) bit unchanged. This is
different from standard ARINC 429 data transfers, which call for the parity
to be calculated. Raw mode is typically used for some older ARINC
specifications such as ARINC 575. This routine is supported only on the
CEI-200 and the CEI-x20.
See AR_SETCHPARMS for a superior replacement function.
ARS_NORMAL
Operation completed successfully.
ARS_INVBOARD
Board is either not initialized or not
supported for requested mode.
ARS_BRDNOTLOAD
Board not initialized.
ARS_INVARG
Invalid argument value.
ARS_BOARD_MUTEX
Failed to acquire/release the board lock.
board
(input) board number
direction
(input) type of channel specified in the channel
argument (transmit or receive). Valid values are:
ARU_XMIT
transmit channel.
ARU_RECV
receive channel.
channel
(input) channel number. Valid arguments depend
upon the number of channels configured on the
board purchased. The first channel (transmit or
receive) is number 0
control
(input) enables or disables raw mode. Valid values
are:
AR_ON
enable “raw” mode on this channel.
AR_OFF
disable “raw” mode on this channel.
Syntax
Description
Return Value
Arguments
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com