:CHANnel<n> Commands 10
Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide 277
:CHANnel<n>:RANGe
(see page 1138)
Command Syntax
:CHANnel<n>:RANGe <range>[<suffix>]
<range> ::= vertical full-scale range value in NR3 format
<suffix> ::= {V | mV}
<n> ::= 1 to (# analog channels) in NR1 format
The :CHANnel<n>:RANGe command defines the full- scale vertical axis of
the selected channel. When using 1:1 probe attenuation, legal values for
the range are from 8 mV to 40 V.
If the probe attenuation is changed, the range value is multiplied by the
probe attenuation factor.
Query Syntax
:CHANnel<n>:RANGe?
The :CHANnel<n>:RANGe? query returns the current full- scale range
setting for the specified channel.
Return Format
<range_argument><NL>
<range_argument> ::= vertical full-scale range value in NR3 format
See Also • "Introduction to :CHANnel<n> Commands" on page 262
• ":CHANnel<n>:SCALe" on page 278
• ":CHANnel<n>:PROBe" on page 271
Example Code
' CHANNEL_RANGE - Sets the full scale vertical range in volts. The
' range value is 8 times the volts per division.
myScope.WriteString ":CHANnel1:RANGe 8" ' Set the vertical range to
8 volts.
See complete example programs at: Chapter 40, “Programming Examples,”
starting on page 1147