Technical data
Mask Test Commands 23
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 405
:MTESt:AVERage
Command :MTESt:AVERage {{ON | 1} | {OFF | 0}}
The :MTESt:AVERage command enables or disables averaging. When ON,
the oscilloscope acquires multiple data values for each time bucket, and
averages them. When OFF, averaging is disabled. To set the number of
averages, use the :MTESt:AVERage:COUNt command described next.
The :ACQuire:AVERage command performs the same function as this
command.
Averaging is not available in PDETect mode.
Example This example turns averaging on.
myScope.WriteString ":MTEST:AVERAGE ON"
Query :MTESt:AVERage?
The :MTESt:AVERage? query returns the current setting for averaging.
Returned Format
[:MTESt:AVERage] {1 | 0} <NL>
Example This example places the current settings for averaging into the string
variable, strSetting, then prints the contents of the variable to the
computer's screen.
Dim strSetting As String ' Dimension variable.
myScope.WriteString ":MTEST:AVERAGE?"
strSetting = myScope.ReadString
Debug.Print strSetting