Skip to content

Marker Search

Marker search functions automatically position markers at points of interest such as peaks, minimums, or specific values. This speeds up measurements and improves accuracy.

Access search functions via MARKER > SEARCH:

FunctionAction
MAXMove marker to maximum value
MINMove marker to minimum value
PEAKFind local peak near current position
LEFTSearch left for next peak/crossing
RIGHTSearch right for next peak/crossing
  1. Ensure a marker is active
  2. Go to MARKER > SEARCH
  3. Tap MAX
  4. The marker moves to the highest point on the trace

Useful for:

  • Finding filter passband center
  • Locating S21 transmission peak
  • Finding amplifier gain maximum
  1. Ensure a marker is active
  2. Go to MARKER > SEARCH
  3. Tap MIN
  4. The marker moves to the lowest point on the trace

Useful for:

  • Finding antenna resonance (minimum SWR or S11)
  • Locating filter notch frequency
  • Finding transmission minimum

The PEAK function finds a local maximum near the current marker position:

  1. Position marker roughly near the peak of interest
  2. Go to MARKER > SEARCH > PEAK
  3. The marker moves to the exact peak location

This uses bilinear interpolation for sub-point accuracy.

Search left or right from the current marker position:

  1. Position marker at a reference point (like a peak)
  2. Go to MARKER > SEARCH > LEFT
  3. The marker moves to the next significant point to the left
  1. Position marker at a reference point
  2. Go to MARKER > SEARCH > RIGHT
  3. The marker moves to the next significant point to the right

These searches find threshold crossings, useful for:

  • Finding -3 dB bandwidth points
  • Locating filter edges
  • Finding zero-crossing points

Enable continuous peak tracking:

  1. Go to MARKER > TRACKING
  2. Select tracking mode:
    • MAX - Track maximum value
    • MIN - Track minimum value
    • OFF - Disable tracking

When tracking is enabled, the marker automatically moves to the peak/minimum after each sweep.

  1. Connect antenna to CH0
  2. Set S11 format to SWR or LogMag
  3. Go to MARKER > SEARCH > MIN
  4. Marker moves to resonant frequency
  1. Set S21 LogMag format
  2. Use MARKER > SEARCH > MAX to find passband center
  3. Enable marker 2 at the same position
  4. Use MARKER > SEARCH > LEFT to find left -3 dB point
  5. Enable marker 3
  6. Use MARKER > SEARCH > RIGHT to find right -3 dB point
  7. Bandwidth = Marker 3 frequency - Marker 2 frequency
  1. Set S11 LogMag format
  2. Enable marker at resonance
  3. Go to MARKER > TRACKING > MIN
  4. As you adjust the antenna, marker follows the resonance
  5. Watch the frequency readout change in real-time

The firmware implements search in three distinct ways:

Scans all sweep points and keeps the index with the highest (or lowest) value. Simple and always finds the global extremum. The search direction (maximum vs minimum) is toggled in CONFIG > MODE > SEARCH — this setting is labeled MAXIMUM or MINIMUM and controls whether the firmware’s internal compare function uses > or <.

Finds a local peak near the current marker position using bilinear interpolation between adjacent points. This gives sub-point frequency accuracy — the reported frequency is more precise than the sweep point spacing would normally allow.

For a 101-point sweep across 100 MHz (1 MHz/point), peak interpolation can resolve the peak center to roughly 100 kHz accuracy.

Searches from the current marker position in the specified direction, looking for where the trace crosses a target threshold. The firmware uses this internally for finding -3 dB bandwidth points, zero crossings, and filter edge detection.

The search walks point-by-point from the current index, comparing each value against a target. When it finds a crossing, it reports the index. This is the mechanism behind the automatic bandwidth measurement in the filter analysis tool.

Search can fail or give unexpected results when:

SymptomCauseFix
MAX finds wrong peakMultiple peaks, finds global max not localPosition marker near the peak first, use PEAK instead
LEFT/RIGHT jumps to edgeNo crossing exists in that directionWiden the sweep range or check scale
MIN finds noise floorTrace dips below measurement floorReduce sweep span or increase IF bandwidth
Search doesn’t move markerMarker already at the extremumExpected behavior — the search succeeded

Search accuracy depends directly on sweep point density:

PointsFrequency Step (100 MHz span)Best For
1011.0 MHzAntennas, broad features
2010.5 MHzModerate resolution
4010.25 MHzNarrow filters, crystals

For narrow-band devices like crystals (bandwidth measured in kHz), use the maximum sweep points your device supports and narrow the span. On a NanoVNA-H with 101 points, a 1 MHz span gives 10 kHz resolution — adequate for most crystal measurements.

Search functions are accessed through the marker and measure commands:

Terminal window
# Enable tracking
config mode 1 # Enable search mode
# Use measure command for analysis modes
measure none # Disable
measure lc # LC match analysis