www.vtiinstruments.com
EX1629 Command Set 263
vtex1629_set_input_multiplexer
FUNCTION PROTOTYPE
ViStatus vtex1629_set_input_multiplexer (ViSession vi, ViInt32 _VI_FAR channels[], ViInt32
numberOfChannels, ViInt32 muxInValue);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
channels[] = an input integer array containing a list of channel numbers for which the linear scaling coefficients will
be set. Valid input values: 0 to 47.
numberOfChannels = the size of the channels list. Valid input values: 1 to 48.
muxInValue = the input multiplexer source. Valid input values: 0 to 4
DATA ITEM RESET VALUE
muxInValue = 0
DESCRIPTION
This function sets the input multiplexer source. The muxInValue parameter can be set to the following values:
VTEX1629_INPUTMUX_BRIDGE_TYPE_FULL
VTEX1629_INPUTMUX_BRIDGE_TYPE_HALF
VTEX1629_INPUTMUX_BRIDGE_TYPE_QUARTER
VTEX1629_INPUTMUX_BRIDGE_TYPE_CAL
VTEX1629_INPUTMUX_BRIDGE_TYPE_GND
NOTE This function provides a manual method that is normally only used for specialized cases like doing
voltage measurements in quarter bridge mode. The vtex1629_set_EU_conversion command is the
preferred way of setting up the input mux, completion resistors, and the EU conversion.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channels[] = {0};
ViInt32 numberOfChannels = 1;
…
/*
configure input multiplexer for channel 0 to be in quarter bridge mode
*/
status = vtex1629_set_input_multiplexer (instrumentHandle,
channels,
numberOfChannels,
VTEX1629_INPUTMUX_BRIDGE_TYPE_QUARTER);