Technical data

500 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:HISTogram:HITS
Command :MEASure:HISTogram:HITS [<source>]
The :MEASure:HISTogram:HITS command places the histogram hits
measurement into the Measurements tab of the oscilloscope's user
interface.
The source is specified with the :MEASure:SOURce command or with the
optional parameter following the command.
The :MEASure:HISTogram commands only apply to Meas Histogram math
functions, the histogram waveform, or memories containing histograms.
<source> { FUNCtion<N> | WMEMory<N> | HISTogram}
<N> An integer, 1 - 4.
Example This example places into the Measurements tab the number of hits within
the histogram stored in WMEMory1.
myScope.WriteString ":MEASure:HISTogram:HITS WMEMory1"
Query :MEASure:HISTogram:HITS? [<source>]
The :MEASure:HISTogram:HITS? query returns the number of hits within
the histogram.
Returned Format
[:MEASure:HISTogram:HITS]<value>[,<result_state>]<NL>
<value> The number of hits in the histogram.
<result_state> If SENDVALID is ON, the result state is returned with the measurement
result. Refer to the MEASure:RESults command, for a list of the result
states.
Example This example returns the number of hits within the current histogram and
prints the result to the computer's screen.
myScope.WriteString ":SYSTem:HEADer OFF" ' Response headers off.
myScope.WriteString ":MEASure:HISTogram:HITS? WMEMory1"
varHisthits = myScope.ReadNumber
Debug.Print FormatNumber(varHisthits, 0)
See Also ":FUNCtion<N>:MHIStogram" on page 314
":HISTogram:MODE" on page 338