Measure:histogram:mean - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

:MEASure:HISTogram:MEAN

Command
:MEASure:HISTogram:MEAN [<source>]
The :MEASure:HISTogram:MEAN command places the histogram mean
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<F> | WMEMory<N> | HISTogram}
<F>
An integer, 1- 16.
<N>
An integer, 1- 4.
Example
This example places into the Measurements tab the mean of the histogram
stored in WMEMory1.
myScope.WriteString ":MEASure:HISTogram:MEAN WMEMory1"
Query
:MEASure:HISTogram:MEAN? [<source>]
The :MEASure:HISTogram:MEAN? query returns the measurement of the
mean of the histogram.
Returned Format
[:MEASure:HISTogram:MEAN]<value>[,<result_state>]<NL>
<value>
The mean of 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 mean of the current histogram and prints the
result to the computer's screen.
myScope.WriteString ":SYSTem:HEADer OFF"
myScope.WriteString ":MEASure:HISTogram:MEAN? WMEMory1"
varHistmean = myScope.ReadNumber
Debug.Print FormatNumber(varHistmean, 0)
See Also
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
":FUNCtion<F>:MHIStogram"
":HISTogram:MODE"
on page 350
on page 374
Measure Commands
' Response headers off.
25
549

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents