VTI Instruments Corp.
F
P
UNCTION
ROTOTYPE
ViStatus _VI_FUNC vtex10xxA_set_channel_range(ViSession vi, ViInt32 channels[], ViInt32 numChannels,
ViReal64 range);
F
P
UNCTION
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
I
R
V
ATA
TEM
ESET
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);
232
vtex10xxA_set_channel_range
EX10xxA/RX1032/EX1044 Function Calls
Need help?
Do you have a question about the EX1000A and is the answer not in the manual?