Technical data
Channel Commands 12
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 223
:CHANnel<N>:RANGe
Command :CHANnel<N>:RANGe <range_value>
The :CHANnel<N>:RANGe command defines the full- scale vertical axis of
the selected channel. It sets up acquisition and display hardware to
display the waveform at a given range scale. The values represent the
full- scale deflection factor of the vertical axis in volts. These values
change as the probe attenuation factor is changed.
<N> An integer, 1 - 4
<range_value> A real number for the full- scale voltage of the specified channel number.
Example This example sets the full- scale range for channel 1 to 500 mV.
myScope.WriteString ":CHANNEL1:RANGE 500E-3"
Query :CHANnel<N>:RANGe?
The :CHANnel<N>:RANGe? query returns the current full- scale vertical axis
setting for the selected channel.
Returned Format
[:CHANnel<N>:RANGe]<range_value><NL>
Example This example places the current range value in the number variable,
varSetting, then prints the contents of the variable to the computer's
screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":CHANNEL1:RANGE?"
varSetting = myScope.ReadNumber
Debug.Print FormatNumber(varSetting, 0)