Technical data

224 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
12 Channel Commands
:CHANnel<N>:SCALe
Command :CHANnel<N>:SCALe <scale_value>
The :CHANnel<N>:SCALe command sets the vertical scale, or units per
division, of the selected channel. This command is the same as the
front-panel channel scale.
<N> An integer, 1 - 4
<scale_value> A real number for the vertical scale of the channel in units per division.
Example This example sets the scale value for channel 1 to 500 mV/div.
myScope.WriteString ":CHANNEL1:SCALE 500E-3"
Query :CHANnel<N>:SCALe?
The :CHANnel<N>:SCALe? query returns the current scale setting for the
specified channel.
Returned Format
[:CHANnel<N>:SCALe] <scale_value><NL>
Example This example places the current scale 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:SCALE?"
varSetting = myScope.ReadNumber
Debug.Print FormatNumber(varSetting, 0)