528 Chapter7
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 finds the highest point on a trace.
NH finds the next-highest point on a trace.
NR finds the next-right peak.
NL finds the next-left peak.
Example
10 OUTPUT 718;"IP;SNGLS;"
20 INPUT "ENTER START FREQUENCY, IN MHZ",Start_freq
30 INPUT "ENTER STOP FREQUENCY, IN MHZ",Stop_freq
40 OUTPUT 718;"FA ";Start_freq;"MHZ;"
50 OUTPUT 718;"FB ";Stop_freq;"MHZ;"