NanoVNA Saver

NanoVNA Saver is Rune Broberg's PC application for the NanoVNA. A single sweep returns 101 points, which is a coarse picture of a narrowband device. Saver sweeps the span in segments and joins them into one trace, so the limit is how long you are willing to wait rather than how many points the hardware returns. 10,000 points is routine.

It is written in Python, on PyQt, NumPy, SciPy and PySerial, and the same code runs on Windows, macOS and Linux. Windows and Linux builds are below. The macOS build is a version behind, and the source on GitHub is the current option there.

What it does:

  • Reads data from V1 hardware and from the V2 and VNA6000 series.
  • Splits a frequency range into segments, so 10,000 points or more is practical on hardware that returns 101 per sweep.
  • Averages sweeps to bring the noise down, which matters most at the top of the range.
  • Smith, LogMag, phase and VSWR charts, for S11 and S21, several at once.
  • Markers with impedance, VSWR, Q, and the equivalent capacitance or inductance at that frequency.
  • Reference bands drawn over the sweep, so you can see where the ham bands fall.
  • Touchstone import and export, 1 port and 2 port (.s1p, .s2p).
  • TDR, for cable length and for finding a fault.
  • Filter analysis for low pass, high pass, band pass and band stop.
  • A live trace and a saved reference trace, so you can compare before and after a change.
  • Calibration from the application, including for standards that are not ideal.
  • Chart colors and a dark mode, kept between sessions.
  • Charts exported as images.

Screenshots:

screenshot screenshot

Windows 7:
Needs Service Pack 1 and the Microsoft VC++ Redistributable, which is usually already installed. Nothing older than Windows 7 is supported.

Download NanoVNA Saver v0.6.2

Windows 64-bit (.zip) Linux Executable

New in v0.6.2

  • PyQt6 fixes
  • Add option --auto-connect, connect automatically if one device detected
  • Correct some inconsistencies in the UI
  • 3rd party library updates

Older versions

Downloads are also available directly from GitHub.

Using NanoVNA Saver

The settings people get stuck on, in the order you meet them.

1. Connecting

Plug the NanoVNA in with a data cable; it should appear as a serial port. Pick that port from the drop down. If the device was already connected when the application started, or you have just replugged it, click "Rescan" first, then "Connect to device". If there is no port in the list at all, try another cable before anything else.

2. Sweeps and segments

The number in the "Segments" box is how many 101 point sweeps are strung together to make one trace. Each segment takes about 1.5 seconds, so a 10 segment sweep takes fifteen seconds and gives you ten times the resolution. More segments means a slower sweep, and that is the trade the application exists for.

Frequencies can be typed in Hz, or with k and M suffixes (144M), or in scientific notation (6.5e6 for 6.5MHz).

3. Markers and display

Markers can be typed in or dragged. Hold Shift and click a graph to bring the nearest marker to the cursor. The readout boxes give the value at that frequency, and the "hide data" button takes them off the graph when they get in the way of the trace.

"Display setup" is where chart colors, font sizes and the visible graphs are set. Preferences are kept between sessions, so this is usually a one-off.

4. Calibration

Before the first sweep, put a full span calibration in slot 0 on the hardware itself. An uncalibrated device returns raw readings, and some of those fall outside the range the application will plot. That looks like a broken connection, and it is not one.

The Calibration Assistant does the rest from the PC: sweep Open, Short, Load and Thru, and it handles the arithmetic. Custom standards can be defined, the profile can be labeled and saved for next time, and Apply puts the result into the active trace immediately.

Note: load capacitance compensation is not implemented yet.

5. TDR and core permeability

Time Domain Reflectometry: calibrate first, then connect the cable at the calibration plane, which is where the Load standard was. Open the Time Domain Reflectometry window and pick the cable type from the list, or type its velocity factor. The distance to the fault is only as good as that number, so use the figure from the cable datasheet.

Core permeability: a 1 port measurement is enough. Wind a few turns of wire on a core of known dimensions, open the "S11 mu" plot from Display Setup, and right-click it to enter the cross sectional area in mm², the effective length in mm and the number of turns.