VTI Instruments Corp.
232
EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_set_channel_range
F
UNCTION
P
ROTOTYPE
ViStatus _VI_FUNC vtex10xxA_set_channel_range(ViSession
vi
, ViInt32
channels[]
, ViInt32
numChannels
,
ViReal64
range
);
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
= 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.
range
= sets the input range of the specified channels. Valid input values: 0.01 (10 mV), 0.067 (±67 mV), 0.1
(100 mV), 1 (1 V), and 10 (10 V).
D
ATA
I
TEM
R
ESET
V
ALUE
range
= 0.067 for thermocouple channels, 10 V for voltage channels.
D
ESCRIPTION
This function specifies input range of a voltage channel. If the channel specified by the channels parameter is a
thermocouple channel, an error will be returned. If an invalid
range
value is used, the value is rounded up to the
next highest valid range. If a value is greater than 10.0 V is entered for the
range
parameter, an error will be
returned
E
XAMPLE
//sets an array of the 1032's voltage channels to 1.0 volt range
ViInt32 ex1032_volt_channels [16] = { 0, 1, 2, 3, 4 ,5 ,6 ,7 ,8 ,9 ,10 ,11 ,12 ,13 ,14 ,15 ,16};
vtex10xxA_set_channel_ranges(vi, ex1032_volt_channels, 16, 1.0);
Summary of Contents for EX1000A
Page 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Page 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Page 34: ......
Page 56: ......
Page 74: ......
Page 130: ......
Page 282: ......