Vector Network Analyzer


@Psynosaur should we put your port on a new branch in the master repo?


Good afternoon

You are welcome to.

Kind Regards
Ohan Smit

1 Like

Hi all.
i believe i did the Scalar Network Analyzer with my limesdr-mini last year.
i have since purchased an RF Bridge

i would like to try the tracking generator that the vna script provides.
does everything look like it is connected correctly?
i have a 15db + 6db attenuators to make a total of 21db attenuation.
on the OSL test (Open/Short/Load) i can do the open and the 50ohm terminator load.
with the “Short” do i just short that connection?

just ordered a 10db attenuator and a couple more cables i needed.
what can i do to “short” the sma connector on the rf bridge DUT?
all i have are 50ohm terminator caps sma.

1 Like

my new setup for VNA:
10db attenuator and still have problem with “SHORT”
can someone tell me something i can do while doing the vna test?
do i just use a paperclip?

Never was in position to play with that particular application on Lime
but usually you need something similar to thing on the right…
In your case must be SMA kind of connectors :wink:

Open is nothing within proper connector
Short is short circuit on the end of the similar connector
Load is 50 ohm resistance within similar connector


the short piece of coax is terminated at 0ohms.
i checked it with my Digital Meter.
now i just remove it and hook antenna to it.
hope it works ok


It should work for demo in case that you have 50 ohm on REF side of that bridge…
(my Eagle bridge have internal REF)


using these commands.
‘python r75’
‘python r75 plot’

is there any reason to use a noise source and the SNA scripts over the VNA scripts?


Calibration shorts are shorted within the plug and using a piece of coax with a short at the end is not going to be the same. It may measure 0 ohms at DC, but this doesn’t mean it will be any good for calibration.

1 Like

I think in the examples “docs” pdf they say to use a load and not short.
We should be able to use an Open and Load to do vna and sna


This is an example of what you need.


1 Like

GUI Please…

1 Like

I made a SNA code with html/javascript GUI, check out if you interested:


That looks fantastic, @nepe! Could you drop me a line on I’d love to ask you a few questions about it with a view to highlighting the project on Lime Micro’s Community hub.


That looks great!!!


Another test, sweep time was 73sec.


Great work Nepe!
Can you add SWR markings?
Can you add progress bar, so we know when the sweep has finished?
Thanks for the effort!
Best Regards,


Yes, i can add a SWR measurement mode maybe in next week. Currently working on increasing the sample rate to reduce the sweep time.
The orange line shows the sweep position. See the screenshot above.

1 Like

Dear Nepe,
The orange line jumps around the screen all the time and i am not quite sure when to stop the measurement when i am calibrating with the short standard.
It will be nice if it is possible to have a “single sweep” option, so the software will do a single sweep for calibration and then stop.
Thanks again for the great work!

1 Like

Today i pushed a new version to the GitHub. Added sample rate selection, more visible sweep cursor, SWR display mode, sweep time improvements, modular sweeper, and bug fixes.

With 20MS/s 500KHz resolution(steps=40) a 100MHz sweep only takes about 6sec. I also tried a multi tone measurement method(, with the same settings the sweep time is halved but its highly reduced dynamic range so no ui options added for this right now.