:CHANnel<N>:DISPlay:RANGe
Command
:CHANnel<N>:DISPlay:RANGe <range>
The :CHANnel<N>:DISPlay:RANGe command sets the full scale vertical
range of the display of the selected channel. Setting the display range
turns off display auto.
<range>
A real number for the range value
You can specify differential and/or common mode channels using the following convention.
N O T E
If you have differential or common mode channels enabled (using either the
:CHANnel<N>:DIFFerential or :CHANnel<N>:COMMonmode commands) then:
•
•
•
•
Example
This example sets the display range of the display of channel 1 to
myScope.WriteString ":CHANNEL1:DISPLAY:RANGe 10e-6"
Query
:CHANnel<N>:DISPlay:RANGe?
The :CHANnel<N>:DISPlay:RANGe? query returns the full scale vertical
range of the display for the selected channel.
Returned Format
[:CHANnel<N>:DISPlay:RANGe] <range><NL>
Example
This example places the range of channel 1 in the variable varRange, then
prints the contents of the variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF"
myScope.WriteString ":CHANNEL1:DISPLAY:RANGe?"
varRange = myScope.ReadNumber
Debug.Print FormatNumber(varRange, 0)
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
:CHANnel1 would refer to the Channel 1 - Channel 3 differential channel
:CHANnel2 would refer to the Channel 2 - Channel 4 differential channel
:CHANnel3 would refer to the Channel 1 + Channel 3 common mode channel
:CHANnel4 would refer to the Channel 2 + Channel 4 common mode channel
12
Channel Commands
199