Agilent Technologies 86100-90086 Sprinkler User Manual


 
14-5
Histogram Commands
WINDow:X1Position
until the histogram database is cleared. <N> is an integer, 1through 4. The :WINDow:SOURce
command serves the same function as the :SOURce command and has been retained for com-
patibility with the Agilent 83480A/54750A.
Example The following example sets the histogram window’s source to Channel 1.
10 OUTPUT 707;”:HISTOGRAM:WINDOW:SOURCE CHANNEL1”
Query :HISTogram:WINDow:SOURce?
The query returns the currently selected histogram window source.
Returned Format [:HISTogram:WINDow:SOURce] {CHANnel<N> | FUNCtion<N> | RESPonse<N> | CGM}<NL>
Example The following example returns the result of the window source query.
10 DIM Winsour$[50]
20 OUTPUT 707;”:HISTOGRAM:WINDOW:SOURCE?”
30 ENTER 707;Winsour$
WINDow:X1Position
Command :HISTogram:WINDow:X1Position <X1 position>
This command moves the X1 marker of the histogram window. The histogram window selects
a portion of the database to histogram. The histogram window markers will track the scale of
the histogram window source.
Example The following example sets the X1 position to –200 microseconds.
10 OUTPUT 707;”:HISTOGRAM:WINDOW:X1POSITION -200E-6”
Query :HISTogram:WINDow:X1Position?
The query returns the value of the X1 histogram window marker.
Returned Format [:HISTogram:WINDow:X1Position]<X1 position><NL>
Example The following example returns the result of the X1 position query.
10 DIM X1$[50]
20 OUTPUT 707;”:HISTOGRAM:WINDOW:X1POSITION?”
30 ENTER 707;X1$
WINDow:X2Position
Command :HISTogram:WINDow:X2Position <X2 position>
This command moves the X2 marker of the histogram window. The histogram window selects
a portion of the database to histogram. The histogram window markers will track the scale of
the histogram window source.
Example The following example sets the X2 marker to 200 microseconds.
10 OUTPUT 707;”:HISTOGRAM:WINDOW:X2POSITION 200E-6”
Query :HISTogram:WINDow:X2Position?
The query returns the value of the X2 histogram window marker.
Returned Format [:HISTogram:WINDow:X2Position] <X2 position><NL>
Example The following example returns the result of the X2 position query.
10 DIM X2$[50]
20 OUTPUT 707;”:HISTOGRAM:WINDOW:X2POSITION?”