www.vtiinstruments.com
EX1629 Command Set 253
vtex1629_set_EU_conversion
FUNCTION PROTOTYPE
ViStatus vtex1629_set_EU_conversion (ViSession vi, ViInt32 _VI_FAR channels[], ViInt32 numberOfChannels,
ViInt32 EUConversionType);
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 EU conversion type will be set.
Valid input values: 0 to 47.
numberOfChannels = the size of the channels list. Valid input values: 1 to 48.
EUConversionType = an integer input value indicating the desired type of EU conversion for the indicated
channels. See Description below for more information. Valid input values: 0 to 10.
DATA ITEM RESET VALUE
EUConversionType = 0 (voltage)
DESCRIPTION
This function sets the EU conversion type for a given list of channels. The EUConversionType parameter values
correspond to the following conversion types:
EU ConversionType Description
VTEX1629_EUCONV_VOLT_OUTPUT
VTEX1629_EUCONV_QTR_BRIDGE_120
VTEX1629_EUCONV_QTR_BRIDGE_350
VTEX1629_EUCONV_QTR_BRIDGE_USER
VTEX1629_EUCONV_HALF_BRIDGE_BEND
VTEX1629_EUCONV_HALF_BRIDGE_POIS
VTEX1629_EUCONV_FULL_BRIDGE_BEND
VTEX1629_EUCONV_FULL_BRIDGE_POIS
VTEX1629_EUCONV_FULL_BRIDGE_BPOIS
Full-Bridge Bending Poisson
VTEX1629_EUCONV_RATIOMETRIC
Setting the EU Conversion for a channel automatically configures the completion resistor and input multiplexer for
the most common usage of the specified EU Conversion. See the Engineering Unit (EU) Conversion section in
Section 3 for more details.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channels[] = {0, 1, 2, 3, 4, 5, 6, 7};
ViInt32 numberOfChannels = 8;
…
/*
configure first 8 channels for quarter bridge, 120 ohm mode
*/
status = vtex1629_set_EU_conversion(instrumentHandle,
channels,
numberOfChannels,
VTEX1629_EUCONV_QTR_BRIDGE_120);