Is anyone else trying this out ..
My experience so far:
OMG the Com port is not being detected ... read loads of crap on STMicroelectronics Virtual Com Port from ages back ... then noticed instead of /dev/ttyUSB0 it makes /dev/ttyACM0 .... DOH!!
Tried setting up NanoVNASharp with playonlinux ... so far no go but have not tried too hard yet .... UGH!
nanovna.py came with some issues as well but not hard to sort out just a little ugh
so first make sure you install the dependencies:
$ pip install numpy
$ pip install scikit-rf
I found pip install scikit-rf needed sudo so
$ pip install numpy
$ sudo pip install scikit-rf
Then nanovan.py complains about the com port ...
Traceback (most recent call last):
File "./nanovna.py", line 330, in <module>nv.set_port(opt.port)
File "./nanovna.py", line 58, in set_port self.send_command("port %d\r" % port)
File "./nanovna.py", line 48, in send_command self.open()
File "./nanovna.py", line 40, in open self.serial = serial.Serial(self.dev)
File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 240, in __init__ self.open()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))serial.serialutil.SerialException: [Errno 2] could not open port /dev/cu.usbmodem401: [Errno 2] No such file or directory: '/dev/cu.usbmodem401'
Tried passing the port to nanovna.py using the -P switch:
$ ./nanovna.py -P /dev/ttyACM0
Usage: nanovna.py: [options]
nanovna.py: error: option -P: invalid integer value: '/dev/ttyACM0'
Then brain kicked in ... it is the the OMG early hours right now :P and used the -d switch -P must be for setting he channel Port BIG DOH!!
With that working I have been trying to get plots all seems to go ok only I get a screen showing a plot (wish I could attach (admins?))
will try an explain
running ./nanovna.py -d /dev/ttyACM0 -P 0 -v -W gets me a graph in matlib x 0.0 to 3.0 y 1.000 ti 1.025 at this point i was all YAY .. then I zoomed out and moved around no data showing out of these scales ... ok me thinks pass a frequency and perhaps those numbers move so just a test i pluck 7Mhz out of my head and run ./nanovna.py -d /dev/ttyACM0 -P 0 -F 7000000 -v -W and get exactly the same graph .... have i missed something the -h doesn't specify how to send the Freq (i.e. Hz Khz Mhz)
So after my long winded post (sorry all) am am left with:
How do you get a graph of the area you want?
What is the -c scan by script option anyone played with that yet?
And the biggy has anyone coded a live updating graph like the vna/j software ... or better yet a plugin for vna/J?
Cheers All
Tim M0THM