www.vtiinstruments.com
EX1629 Command Set
163
vtex1629_get_input_multiplexer
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_input_multiplexer (ViSession
vi
, ViInt32 _VI_FAR
channels[]
, ViInt32
numberOfChannels
, ViPInt32
muxInValue
);
F
UNCTION
P
ARAMETERS
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
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function returns the input multiplexer source of the channel(s) indicated by the
channel[]
parameter. Possible
values for
muxInValue
are
:
Decimal
Value
Hex
Value
#define Symbol
muxInValue Description
0
0x00
VTEX1629_INPUTMUX_BRIDGE_TYPE_FULL
Full Bridge
1
0x01
VTEX1629_INPUTMUX_BRIDGE_TYPE_HALF
Half Bridge
2
0x02
VTEX1629_INPUTMUX_BRIDGE_TYPE_QUARTER
Quarter Bridge
3
0x03
VTEX1629_INPUTMUX_BRIDGE_TYPE_CAL
Cal
4
0x04
VTEX1629_INPUTMUX_BRIDGE_TYPE_GND
Gnd
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 mux;
…
status = vtex1629_get_input_multiplexer(instrumentHandle, 0, &mux);