Commands by Subsystem 3

:CHANnel<n>:RANGe

(see page 530)

Command Syntax :CHANnel<n>:RANGe <range>[<suffix>]

<range> ::= vertical full-scale range value in NR3 format <suffix> ::= {V mV}

<n> ::= {1 2 3 4} for the four channel oscilloscope models <n> ::= {1 2} for the two channel oscilloscope models

 

The :CHANnel<n>:RANGe command defines the full- scale vertical axis of

 

the selected channel. When using 1:1 probe attenuation, the range can be

 

set to any value from:

 

16 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 143

 

":CHANnel<n>:SCALe" on page 158

 

":CHANnel<n>:PROBe" on page 152

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.

 

Example program from the start: "VISA COM Example in Visual Basic" on

 

page 578

Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference

157

Page 157
Image 157
Agilent Technologies 5000 Series manual CHANnelnRANGe, Example Code