Language Reference
MKPK Peak Search
MKPK Peak Search
Syntax
Figure 7-176
MKPK Syntax
Description
The MKPK command places a marker on the highest point on a trace,
the next-highest point, the next-left peak, or the next-right peak. The
default is HI (highest point). If the NH, NR, or NL parameter is
specified, the trace peaks must meet the criteria of the marker
threshold and peak excursion functions in order for a peak to be found.
If no parameter (or the HI parameter) is specified, only the peak
threshold criteria must be met for a peak to be found. If no peak is
found, the marker will appear on the trace at the center of the display.
See also the MKPT and MKPX commands.
Parameters
HI
NH
NR
NL
Example
10
20
30
40
50
528
finds the highest point on a trace.
finds the next-highest point on a trace.
finds the next-right peak.
finds the next-left peak.
OUTPUT 718;"IP;SNGLS;"
INPUT "ENTER START FREQUENCY, IN MHZ",Start_freq
INPUT "ENTER STOP FREQUENCY, IN MHZ",Stop_freq
OUTPUT 718;"FA ";Start_freq;"MHZ;"
OUTPUT 718;"FB ";Stop_freq;"MHZ;"
Chapter 7