Technical data
Time Base Commands 30
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 765
:TIMebase:WINDow:POSition
Command :TIMebase:WINDow:POSition <position_value>
The :TIMebase:WINDow:POSition sets the horizontal position in the delayed
view of the main sweep. The range for this command is determined by the
main sweep range and the main sweep horizontal position. The value for
this command must keep the time base window within the main sweep
range.
<position
_value>
A real number for the time in seconds from the trigger event to the delay
reference point. The maximum position depends on the main sweep range
and the main sweep horizontal position.
Example This example sets the time base window delay position to 20 ns.
myScope.WriteString ":TIMEBASE:WINDOW:POSITION 20E-9"
Query :TIMebase:WINDow:POSition?
The :TIMebase:WINDow:POSition? query returns the current horizontal
position in the delayed view.
Returned Format
[:TIMebase:WINDow:POSition] <position_value><NL>
Example This example places the current horizontal position in the delayed view in
the numeric variable, varSetting, then prints the contents of the variable
to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":TIMEBASE:WINDOW:POSITION?"
varSetting = myScope.ReadNumber
Debug.Print FormatNumber(varSetting, 0)