9 Programming the Instrument
9.3 SCPI Operation and Results Query
For most other measurements:
:CALCulate:DATA[1]|2|…|6:PEAKs? <threshold>,<excursion>[,AMPLitude |
FREQuency | TIME]
Notes Parameters:
<n>
The trace that will be used:
[1]|2|…|6
<threshold>
The level below which trace data peaks are ignored
Note that the threshold value is required and is always used as a peak
criterion. To effectively disable the threshold criterion for this command,
provide a substantially low threshold value such as –200dBm
Note also that the threshold value used in this command is independent of
and has no effect on the threshold value stored under the Peak Criteria
menu
<excursion>
The minimum amplitude variation (rise and fall) required for a signal to be
identified as peak
Note that the excursion value is required and is always used as a peak
criterion. To effectively disable the excursion criterion for this command,
provide the minimum value of 0.0dB
Note also that the excursion value used in this command is independent of
and has no effect on the excursion value stored under the Peak Criteria
menu
Values must be provided for threshold and excursion. The sorting and display line parameters are
optional (defaults are AMPLitude and ALL)
Note that there is always a Y-axis value for the display line, regardless of whether the display line state
is on or off. It is the current Y-axis value of the display line which is used by this command to determine
whether a peak should be reported
Sorting order:
AMPLitude
Lists the peaks in order of descending amplitude, with the highest peak first
If this optional parameter not sent, this is the default
FREQuency
Lists the peaks in order of occurrence, left to right across the x-axis
TIME
Lists the peaks in order of occurrence, left to right across the x-axis
Peaks vs. Display Line:
ALL
Lists all of the peaks found (default if optional parameter not sent)
GTDLine
Greater than display line
Lists all of the peaks found above the display line
LTDLine
Less than display line
Lists all of the peaks found below the display line
For example, for Swept SA measurement in Spectrum Analyzer Mode:
:CALC:DATA4:PEAK? –40,10,FREQ,GTDL
Spectrum Analyzer Mode User's &Programmer's Reference 2768