Program Interface Library AR_PUTFILTER
CEI-100/CEI-200/CEI-x20 User’s Manual 121
AR_PUTFILTER
CEI_INT32 ar_putfilter (CEI_UINT32 board, CEI_UINT32 channel,
CEI_CHAR * Filter)
Only the CEI-520/520A/620/820/820TX enhanced API supports this
function.
This function writes the label interrupt and filter buffer to the board. Each
element of the filter buffer consists of a bit field defined by the call to
AR_GETFILTER.
The CEI-520/520A/620/820/820TX enhanced API supports SIGNALED
MESSAGES. The values FILTER_SIGNAL and FILTER_CHANNEL in
the filter buffer are used to signal a specific label previously setup by a call
to AR_DEFINE_MSG(), and enabled by a call to AR_MODIFY_MSG(),
to be transmitted by the signaled channel as soon as possible after the
specified label has been received. See AR_GETFILTER() and
AR_MODIFY_MSG() for more information.
ARS_INVBOARD Board number invalid.
ARS_BRDNOTLOAD Board not initialized.
ARS_INVARG Non-implemented, ARINC 717 channel,
CSDB channel or invalid mode.
ARS_NO_HW_SUPRT Board doesn’t support this function.
ARS_NORMAL Successful completion.
ARS_BOARD_MUTEX Failed to acquire/release the board lock.
board (input) board number.
channel (input) receive-channel number.
Filter (input) address to supply filter buffer. Buffer must
be at least 8K bytes long.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com