4-123
IM DL350-17EN
Commands
4
4.21 MATH Group
The commands in this group deal with waveform computations. You can make the same settings and queries that you
can by using Analysis > Math in the top menu.
Iftheselectablerangeofthetimeaxisis“<NRf>=−5to5div,”theselectablerangevariesdependingonsettingssuch
as the record length.
For details, see “Selectable Range of Cursor Positions” under “Notes about Cursor Measurement” in chapter 9 of IM
DL350-01EN.
:MATH<x>?
Function Queries all computation settings.
Syntax
:MATH<x>?
<x> = 1, 2
:MATH<x>:AVERage?
Function Queries all averaging computation settings.
Syntax
:MATH<x>:AVERage?
<x> = 1, 2 (this command performs the same no
matter what value you specify)
:MATH<x>:AVERage:CCOunt
Function Sets or queries the cycle count of cycle
averaging.
Syntax
:MATH<x>:AVERage:CCOunt {<NRf>}
:MATH<x>:AVERage:CCOunt?
<x> = 1, 2 (this command performs the same no
matter what value you specify)
<NRf> = 10 to 1800
Example
:MATH1:AVERAGE:CCOUNT 720
:MATH1:AVERAGE:CCOUNT?
-> :MATH1:AVERAGE:CCOUNT 720
:MATH<x>:AVERage:COUNt
Function Sets or queries the average count of linear
averaging.
Syntax
:MATH<x>:AVERage:COUNt {<NRf>}
:MATH<x>:AVERage:COUNt?
<x> = 1, 2 (this command performs the same no
matter what value you specify)
<NRf> = 2 to 128 (in 2
n
steps)
Example
:MATH1:AVERAGE:COUNT 16
:MATH1:AVERAGE:COUNT?
-> :MATH1:AVERAGE:COUNT 16
:MATH<x>:AVERage:EWEight
Function Sets or queries the attenuation constant of
exponential averaging.
Syntax
:MATH<x>:AVERage:EWEight {<NRf>}
:MATH<x>:AVERage:EWEight?
<x> = 1, 2 (this command performs the same no
matter what value you specify)
<NRf> = 2 to 256 (in 2
n
steps)
Example
:MATH1:AVERAGE:EWEIGHT 16
:MATH1:AVERAGE:EWEIGHT?
-> :MATH1:AVERAGE:EWEIGHT 16
:MATH<x>:AVERage:MODE
Function Sets or queries the average type.
Syntax
:MATH<x>:AVERage:MODE {CYCLe|
EXPonent|LINear|OFF|PEAK}
:MATH<x>:AVERage:MODE?
<x> = 1, 2 (this command performs the same no
matter what value you specify)
Example
:MATH1:AVERAGE:MODE EXPONENT
:MATH1:AVERAGE:MODE?
-> :MATH1:AVERAGE:MODE EXPONENT
Description You can only specify OFF in recorder mode.
:MATH<x>:AVERage:TYPE
Function Sets or queries the averaging domain.
Syntax
:MATH<x>:AVERage:TYPE {FREQuency|
TIME}
:MATH<x>:AVERage:TYPE?
<x> = 1, 2 (this command performs the same no
matter what value you specify)
Example
:MATH1:AVERAGE:TYPE FREQUENCY
:MATH1:AVERAGE:TYPE?
-> :MATH1:AVERAGE:TYPE FREQUENCY
:MATH<x>:AVALue
Function Sets or queries the scaling coefficient A value of
basic arithmetic with coefficients.
Syntax
:MATH<x>:AVALue {<NRf>}
:MATH<x>:AVALue?
<x> = 1, 2
<NRf>=−9.9999E+30to+9.9999E+30
Example
:MATH1:AVALUE 2.0
:MATH1:AVALUE?
-> :MATH1:AVALUE 2.0000E+00
:MATH<x>:BVALue
Function Sets or queries the scaling coefficient B value of
basic arithmetic with coefficients.
Syntax
:MATH<x>:AVALue {<NRf>}
:MATH<x>:AVALue?
<x> = 1, 2
<NRf>=−9.9999E+30to+9.9999E+30
Example
:MATH1:AVALUE 2.0
:MATH1:AVALUE?
-> :MATH1:AVALUE 2.0000E+00