Technical data

406 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
23 Mask Test Commands
:MTESt:AVERage:COUNt
Command :MTESt:AVERage:COUNt <count_value>
The :MTESt:AVERage:COUNt command sets the number of averages for the
waveforms. In the AVERage mode, the :MTESt:AVERage:COUNt command
specifies the number of data values to be averaged for each time bucket
before the acquisition is considered complete for that time bucket.
The :ACQuire:AVERage:COUNt command performs the same function as
this command.
<count_value> An integer, 2 to 65534, specifying the number of data values to be
averaged.
Example This example specifies that 16 data values must be averaged for each time
bucket to be considered complete. The number of time buckets that must
be complete for the acquisition to be considered complete is specified by
the :MTESt:COMPlete command.
myScope.WriteString ":MTESt:AVERage:COUNT 16"
Query :MTESt:AVERage:COUNt?
The :MTESt:AVERage:COUNt? query returns the currently selected count
value.
Returned Format
[:MTESt:AVERage:COUNt] <value><NL>
<value> An integer, 2 to 65534, specifying the number of data values to be
averaged.
Example This example checks the currently selected count value and places that
value in the string variable, varResult. The program then prints the
contents of the variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF"
myScope.WriteString ":MTEST:AVERAGE:COUNT?"
varResult = myScope.ReadNumber
Debug.Print FormatNumber(varResult, 0)