Technical data
Function Commands 16
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 307
:FUNCtion<N>:HORizontal:POSition
Command :FUNCtion<N>:HORizontal:POSition <position_value>
The :FUNCtion<N>:HORizontal:POSition command sets the time value at
center screen for the selected function. If the oscilloscope is not already in
manual mode when you execute this command, it puts the oscilloscope in
manual mode.
When you select :FUNCtion<N>:FFTMagnitude, the horizontal position is
equivalent to the center frequency. This also automatically selects manual
mode.
<N> An integer, 1 - 4, representing the selected function.
<position
_value>
A real number for the position value in time, in seconds, from - 10E15 to
10E15.
Query
:FUNCtion<N>:HORizontal:POSition?
The :FUNCtion<N>:HORizontal:POSition? query returns the current time
value at center screen of the selected function.
Returned Format
[:FUNCtion<N>:HORizontal:POSition] <position><NL>
Example This example places the current horizontal position 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:HORIZONTAL:POSITION?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)