EasyManua.ls Logo

VTI Instruments EX1000A - Vtex10 Xxa_Set_Channel_Range

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...
VTI Instruments Corp.
232 EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_set_channel_range
FUNCTION PROTOTYPE
ViStatus _VI_FUNC vtex10xxA_set_channel_range(ViSession vi, ViInt32 channels[], ViInt32 numChannels,
ViReal64 range);
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.
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).
DATA ITEM RESET VALUE
range = 0.067 for thermocouple channels, 10 V for voltage channels.
DESCRIPTION
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
EXAMPLE
//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);

Table of Contents

Related product manuals