www.vtiinstruments.com
EX1629 Command Set
253
vtex1629_set_EU_conversion
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_set_EU_conversion (ViSession
vi
, ViInt32 _VI_FAR
channels[]
, ViInt32
numberOfChannels
,
ViInt32
EUConversionType
);
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 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.
D
ATA
I
TEM
R
ESET
V
ALUE
EUConversionType
= 0 (voltage)
D
ESCRIPTION
This function sets the EU conversion type for a given list of channels. The
EUConversionType
parameter values
correspond to the following conversion types:
Decimal
Value
Hex
Value
#define Symbol
EU ConversionType Description
0
0x00
VTEX1629_EUCONV_VOLT_OUTPUT
Voltage
1
0x01
VTEX1629_EUCONV_QTR_BRIDGE_120
Quarter-Bridge 120
2
0x02
VTEX1629_EUCONV_QTR_BRIDGE_350
Quarter-Bridge 350
3
0x03
VTEX1629_EUCONV_QTR_BRIDGE_USER
Quarter-Bridge User
4
0x04
VTEX1629_EUCONV_HALF_BRIDGE_BEND
Half-Bridge Bending
5
0x05
VTEX1629_EUCONV_HALF_BRIDGE_POIS
Half-Bridge Poisson
6
0x06
VTEX1629_EUCONV_FULL_BRIDGE_BEND
Full-Bridge Bending
7
0x07
VTEX1629_EUCONV_FULL_BRIDGE_POIS
Full-Bridge Poisson
8
0x08
VTEX1629_EUCONV_FULL_BRIDGE_BPOIS
Full-Bridge Bending Poisson
9
0x09
VTEX1629_EUCONV_RATIOMETRIC
Ratiometric
10
0x0A
VTEX1629_EUCONV_LINEAR
Linear
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
Conversion section in
Section 3 for more details.
E
XAMPLE
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);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...