Technical data
Function Commands 16
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 319
:FUNCtion<N>:RANGe
Command :FUNCtion<N>:RANGe <full_scale_range>
The :FUNCtion<N>:RANGe command defines the full- scale vertical axis of
the selected function. This automatically changes the mode from auto to
manual.
<N> An integer, 1 - 4, representing the selected function.
<full_scale
_range>
A real number for the full- scale vertical range, from - 100E15 to 100E15.
Example This example sets the full- scale range for function 1 to 400 mV.
myScope.WriteString ":FUNCTION1:RANGE 400E-3"
Query :FUNCtion<N>:RANGe?
The :FUNCtion<N>:RANGe? query returns the current full- scale range
setting for the specified function.
Returned Format
[:FUNCtion<N>:RANGe] <full_scale_range><NL>
Example This example places the current range setting for function 2 in the
numeric variable "varValue", then prints the contents to the computer's
screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":FUNCTION2:RANGE?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)