Instructions

Table Of Contents
Chapter 2 Command System RIGOL
RSA5000 Programming Guide 2-195
:TRACe:MATH:PEAK[:DATA]?
Syntax
:TRACe:MATH:PEAK[:DATA]?
Description
Queries the frequencies (Hz) and amplitudes (the unit is the same as the current Y-axis unit) of the peaks in
the peak table.
Remarks
This command only queries Trace 1.
Return Format
The query returns the frequencies and amplitudes of the peaks in the peak table in the following format. At
most, 20 pairs of frequencies and amplitudes can be returned.
For example, 1.000000000e+09,-1.463000000e+01,9.999890000e+08,-4.172000000e+01.
:TRACe:MATH:PEAK:POINts?
Syntax
:TRACe:MATH:PEAK:POINts?
Description
Query the number of peaks in the peak table.
Return Format
The query returns an integer ranging from 0 to 20.
:TRACe:MATH:REFerence
Syntax
:TRACe:MATH:REFerence <integer>
:TRACe:MATH:REFerence?
Description
Sets the log reference in the trace math operation formula.
Queries the log reference in the trace math operation formula.
Parameter
Name
Type
Range
Default
<integer>
Consecutive Real Number
-170 dBm to 30 dBm
0 dBm
Return Format
The query returns the log reference in scientific notation.
Example
The following command sets the log reference to 50 dBm.
:TRACe:MATH:REFerence 50
The following query returns 5.000000000e+01.
:TRACe:MATH:REFerence?