EasyManua.ls Logo

VTI Instruments EX1000A - Vtex10 Xxa_Set_Channel_Conversion

VTI Instruments EX1000A
320 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
EX10xxA Function Calls 231
vtex10xxA_set_channel_conversion
FUNCTION PROTOTYPE
ViStatus vtex10xxA_set_channel_conversion(ViSession vi, ViInt32 channels[], ViInt32 numChannels, ViInt32
eu_conv);
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 = the list of channels to which to apply the filter frequency selection. The list of channels can include
channels not currently in the scan list and can be a subset of the channels in the scan list.
numChannels = the length of the channels array. Value must be an integer in the range of 1 to 48.
eu_conv = an integer output value representing the EU conversion. Valid return values: 0 through 10. See
Description for more information.
DATA ITEM RESET VALUE
eu_conv = VTEX10XXA_CONV_MV for all channels
DESCRIPTION
This function sets the EU conversion for the specified channels. For the eu_conv parameter, the following values are
valid:
Decimal
Value
Hex
Value
#define
eu_conv Description
0
0x00
VTEX10XXA_CONV_MV
Voltage
1
0x01
VTEX10XXA_CONV_THERMO_TYPE_J
Type J
2
0x02
VTEX10XXA_CONV_THERMO_TYPE_K
Type K
3
0x03
VTEX10XXA_CONV_THERMO_TYPE_T
Type T
4
0x04
VTEX10XXA_CONV_THERMO_TYPE_E
Type E
5
0x05
VTEX10XXA_CONV_THERMO_TYPE_B
Type B
6
0x06
VTEX10XXA_CONV_THERMO_TYPE_S
Type S
7
0x07
VTEX10XXA_CONV_THERMO_TYPE_R
Type R
8
0x08
VTEX10XXA_CONV_THERMO_TYPE_N
Type N
9
0x09
VTEX10XXA_CONV_USER_DEF0
User-defined 0
10
0x0A
VTEX10XXA_CONV_USER_DEF1
User-defined 1
NOTE To meet the accuracy specifications in the Thermocouple Accuracy in Table 1-2, the 67 mV range
must be used. Using other voltage settings for EU conversion will reduce the accuracy of the
measurements. See
EXAMPLE
// channels 0-4 are E, channels 5-8 are T
#define TYPE_E 0x04
#define TYPE_T 0x03
ViInt32 e_channels[5] = { 0, 1, 2, 3, 4 };
vtex10xxA_set_channel_conversion(vi, e_channels, 5, TYPE_E);
ViInt32 t_channels[4] = { 5, 6, 7, 8 };
vtex10xxA_set_channel_conversion(vi, t_channels, 4, TYPE_T);

Table of Contents

Related product manuals