Technical data

Table Of Contents
Histogram Commands 19
Agilent Infiniium 9000 Series Oscilloscopes Programmer's Reference 379
:HISTogram:WINDow:SOURce
Command :HISTogram:WINDow:SOURce {CHANnel<N> | COMMonmode<P> | DIFFerential<P>
| FUNCtion<F> | WMEMory<N> | CLOCk | EQUalized
| MTRend | MSPectrum}
The :HISTogram:WINDow:SOURce command selects the source of the
histogram window. The histogram window will track the source's vertical
and horizontal scale.
<N> An integer, 1-4.
<P> An integer, 1-2.
<F> An integer, 1-16.
The COMMonmode and DIFFerential sources are just aliases that can be
used in place of the channel names to apply to differential or common
mode signals. These are just aliases - no state change occurs if you refer
to a differential channel and you are not in differential mode.
DIFFerential1 refers to the differential signal between channels 1 and 3
(and COMMonmode1 refers to the common mode channel between these
same channels). DIFFerential2 refers to the differential signal between
channels 2 and 4 (and COMMonmode2 refers to the common mode
channel between these same channels).
Example This example sets the histogram window's source to Channel 1.
myScope.WriteString ":HISTOGRAM:WINDOW:SOURCE CHANNEL1"
Query :HISTogram:WINDow:SOURce?
The :HISTogram:WINDow:SOURce? query returns the currently selected
histogram window source.
Returned Format
[:HISTogram:WINDow:SOURce] {CHANnel<N> | COMMonmode<P>
| DIFFerential<P> | FUNCtion<F>
| WMEMory<N>}<NL>
Example This example returns the result of the window source query and prints it
to the computer's screen.
Dim strWinsour As String
myScope.WriteString ":HISTOGRAM:WINDOW:SOURCE?"
strWinsour = myScope.ReadString
Debug.Print strWinsour