VTI Instruments Corp.
158 EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_get_channel_range
FUNCTION PROTOTYPE
ViStatus _VI_FUNC vtex10xxA_get_channel_range(ViSession vi, ViInt32 channel, ViPReal64 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.
channel = the channel for which the range value is desired. Valid input values: 0 through 47.
range = returns the voltage range value for the specified channel. Valid return values: 0.01 (10 mV), 0.067
(±67 mV), 0.1 (100 mV), 1 (1 V), and 10 (10 V).
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns channel gain of a voltage channel. An error is returned if a thermocouple channel is specified
by the channel parameter.
EXAMPLE