Program Interface Library
AR_SETCHPARMS
CEI-100/CEI-200/CEI-
x20 User’s Manual
146
AR_SETCHPARMS
CEI_INT32 ar_setchparms (CEI_UINT32 cardnum, CEI_UINT32
channel, CEI_INT32 TransRcv, pAR_CHANNEL_PARMS def);
This function is available both in the Standard library, and when you are
using the Enhanced library for the CEI-520/520A/620/820/820TX. It is
not available in the standard libraries for the CEI-100/200.
The entry point AR_SETCHPARMS sets up and defines the operating
parameters and modes for a receiver or transmitter. This is the preferred
method for initializing the 573/717 or the CSDB interfaces, and can be
used to initialize 429 channels as well.
ARS_NORMAL
Command completed without error.
ARS_INVBOARD
Board number out of range.
ARS_BRDNOTLOAD
ar_loadslv() has not been called.
ARS_INVARG
Channel out of range, or invalid
argument value.
ARS_NO_HW_SUPRT
Channel type is not supported by this
function.
ARS_CHAN_TIMEOUT
Timeout waiting for response from the
on-board processor.
ARS_BOARD_MUTEX
Failed to acquire/release the board lock.
cardnum
(input) board number.
channel
(input) channel to initialize.
TransRcv
(input) sets the operating parameters for either the
ARU_TRANSMITTER or ARU_RECEIVER.
def
(input) pointer to channel parameter definition
structure.
The structure AR_CHANNEL_PARMS is documented in Appendix B,
and is defined in the file UTILDEFS.H. This file is located in the
include
directory that is created when the software is installed on your computer.
Refer to that file for the most up to date definition of this structure, and all
of the parameters that it defines.
Syntax
Description
Return Value
Arguments
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com