www.vtiinstruments.com
EX1629 Command Set 163
vtex1629_get_input_multiplexer
FUNCTION PROTOTYPE
ViStatus vtex1629_get_input_multiplexer (ViSession vi, ViInt32 _VI_FAR channels[], ViInt32
numberOfChannels, ViPInt32 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.
channel[] = an integer input array that specifies the channel for which the configuration will be returned. Valid input
values: 0 to 47.
numberOfChannels = a return integer value indicating the number of channels currently included in the scan list.
Valid return values: 1 to 48.
muxInValue = indicates the input multiplexer source. Valid return values: 0 to 4
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the input multiplexer source of the channel(s) indicated by the channel[] parameter. Possible
values for muxInValue are:
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
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 mux;
…
status = vtex1629_get_input_multiplexer(instrumentHandle, 0, &mux);