www.vtiinstruments.com
EX1629 Command Set
263
vtex1629_set_input_multiplexer
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_input_multiplexer (ViSession
vi
, ViInt32 _VI_FAR
channels[]
, ViInt32
numberOfChannels
, ViInt32
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.
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
D
ATA
I
TEM
R
ESET
V
ALUE
muxInValue
= 0
D
ESCRIPTION
This function sets the input multiplexer source. The
muxInValue
parameter can be set to the following values:
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
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.
E
XAMPLE
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);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...