Technical data
308 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
16 Function Commands
:FUNCtion<N>:HORizontal:RANGe
Command :FUNCtion<N>:HORizontal:RANGe <range_value>
The :FUNCtion<N>:HORizontal:RANGe command sets the current time
range for the specified function. This automatically selects manual mode.
<N> An integer, 1 - 4, representing the selected function.
<range_value> A real number for the width of screen in current X-axis units (usually
seconds), from -100E- 15 to 100E15.
Query
:FUNCtion<N>:HORizontal:RANGe?
The :FUNCtion<N>:HORizontal:RANGe? query returns the current time
range setting of the specified function.
Returned Format
[:FUNCtion<N>:HORizontal:RANGe] <range><NL>
Example This example places the current horizontal range setting of 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:HORIZONTAL:RANGE?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)