MDO3000 Programmer Manual.pdf - 第371页
Commands Listed in Alphabetical Order 0, as they repre sent digitizing levels t hat fall above and beneath the waveform graticule, respectively . For horizonta l histograms , this query re turns 10 00 values, repre senti…

Commands Listed in Alphabetical Order
<NR3> specifies
the bottom position of the histogram box in percentage
coordinates. The default value is 20%
Examples
HISTOGRAM:BOXPCNT 30.0,25.0,70.0,75.0 sets the left boundary of the
histogram box to 30% of the graticule (3 divisions from the left edge); the top
boundary to 25% of the graticule (0.25 × 10 = 2.5 divisions from the top edge);
the right boundary to 70% of the graticule (7 divisions from the left edge); and
the bottom boundary to 75% of the graticule (0.75 × 10 = 7.5 divisions from
the top edge).
HISTOGRAM:BOXPCNT? might return :HISTOGRAM:BOXPCNT
30.0000,25.1000,70.0000,75.2000.
HIStogram:COUNt (No Query Form)
This command (no query form) clears the count and statistics for the histogram
and the histogram source data. If the histogram is on, then counting restarts.
Group
Histogram
Syntax
HIStogram:COUNt RESET
Related Commands
HIStogram:BOX
HIStogram:BOXPcnt
Arguments
RESET
Examples
HISTOGRAM:COUNT RESET clears the count and statistics for the histogram and
the histogram source data.
HIStogram:DATa? (Query Only)
This query returns the histogram data when HIStogram:MODe is HORizontal or
VERTical. If the mode is OFF, then no data is returned and an error event is set.
The data values returned for this query represent the number of times the histogram
source waveform samples were coincident with a particular histogram bin.
For vertical histograms, this query returns 256 values, representing the number
of times the histogram source waveform samples were coincident with each of
the 256 digitizing levels. Of these 256 values, the first 2 and last 3 are always
2-340 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
0, as they repre
sent digitizing levels that fall above and beneath the waveform
graticule, respectively.
For horizonta
l histograms, this query returns 1000 values, representing the
number of times the histogram source waveform samples were coincident with
each horizontal pixel column. The time of occurrence for each of the horizontal
bins can be derived using the HIStogram:STARt? and HIStogram:END? queries.
Group
Histogram
Syntax
HIStogram:DATa?
Related Commands
HIStogram:BOX
HIStogram:BOXPcnt
HIStogram:COUNt
HIStogram:DISplay
HIStogram:MODe
HIStogram:SOUrce
Examples
HISTOGRAM:DATA? might return :HISTOG RAM:DATA
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,1245,933,903,1003,838,782,764,697,
687,620,582,566,530,595,557,552,518,524,606,
503,526,470,498,554,534,487,546,548,504,554,
513,566,639,508,643,704,662,769,785,806,922,
960,1153,1336,1478,1960,4515,17598,52184,
67040,50417,12885,4104,2382,1866,1699,1428,
1288,1271,1140,975,1024,894,841,841,678,841,
804,685,713,746,729,644,640,787,768,668,671,
661,745,755,692,882,772,802,862,770,854,799,
969,1102,1080,1040,1272,1329,1394,1760,1428,
2418,3313,4475,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0
.
HIStogram:DISplay
This command sets the scaling of the histogram data display to be the count of
each histogram bin or the log of that count. The default scaling is linear.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-341

Commands Listed in Alphabetical Order
Group
Histogram
Syntax
HIStogram:DISplay {OFF|LOG|LINEAr}
HIStogram:DISplay?
Related Commands
HIStogram:MODe
Arguments
<LOG> sets the histogram display to logarithmic scaling
<LINEAr> sets the histogram display to linear scaling. This is the default setting.
Examples
HISTOGRAM:DISPLAYLOG sets the histogram scaling to be the log count of each
histogram bin.
HISTOGRAM:DISPLAY? might return :HISTOGRAM:DISPLAY LOG indicating
that the current histogram display scaling is the log count of each histogram bin.
HIStogram:END? (Query Only)
Returns the time (horizontal) or vertical units value (vertical) of the last bin where
the histogram data ends. The HIStogram:MODe must be either
HORizontal or
VERTical for a value to be returned. If the mode is OFF, an error event is set
and nothing is returned.
If the HIStogram:MODe is
HORizontal, the value returned is the time of the
right bin. If the HIStogram:MODe is
VERTical the value returned is the vertical
units value of the bottom bin. The returned value is an <NR3>.
Group
Histogram
Syntax
HIStogram:END
?
Related Commands
HIStogram:MODe
HIStogram:STARt?
Returns
<NR3>
Examples
HIS
TOGRAM:END?
might return :HISTOGRAM:END 1.6000E-05 indicating that
the last bin is at 16 μs.
2-342 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual