EasyManua.ls Logo

VTI Instruments EX1629 - Vtex1629_Set_Input_Multiplexer

Default Icon
346 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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:
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.
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);

Table of Contents

Related product manuals