¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

data outside expected valid range


 

I have loaded Mate Ubuntu 19.10 on my laptop.
The biggest problem is where the OS saves the Python files and it's
permissions.
I have gotten the nanoVNA-saver to compile and run and I think it is
talking thru a USB port
to the remote VNA. I say that because because the start and stop scan freq
have changed
to the values on the host program.
But

I get this error:

Failed reading data 1 20 times.

Data outside expected valid ranges, or in an unexpected format.


from reading MSG #4930 from


There are two steps to remedy this:
1) Make sure your NanoVNA is calibrated before you even started. It needs
to be calibrated across the entire range you intend to use it over. Do a
2-port calibration, not just the short-open-load.
2) If that doesn't help, update your firmware to a newer version, such as
edy555's 0.2.3, which fixes some of the transmission errors that were
present earlier.


So after a cal from 50khz to 900mhz as per the guide - I still get errors,

see way to the end of this debug clip:


NanoVNASaver 0.2.0
Copyright (C) 2019 Rune B. Broberg
This program comes with ABSOLUTELY NO WARRANTY
This program is licensed under the GNU General Public License version 3

See for further details
Settings: /home/nels/.config/NanoVNASaver/NanoVNASaver.ini
2019-11-20 13:48:29,793 - NanoVNASaver.NanoVNASaver - ERROR - Tried to open
and failed: [Errno 2] could not open port : [Errno 2] No such file or
directory: ''
2019-11-20 13:48:35,557 - NanoVNASaver.NanoVNASaver - ERROR - Tried to open
/dev/ttyACM0 and failed: [Errno 16] could not open port /dev/ttyACM0:
[Errno 16] Device or resource busy: '/dev/ttyACM0'
2019-11-20 13:49:04,817 - NanoVNASaver.SweepWorker - WARNING - Got a
non-float data value: 2147483647.147483647 2147483647.147483647
(2147483647.147483647)


So I am slowly making success but it is slow, any help and or comments are
appreciated.


Thanks to those who have helped me from this list, THANK YOU!

Thank you for the software: Rune B. Broberg. I think it may work after more
work on my part.

This version of Mate-Ubuntu 19.10 is looking for a tablet to run on and I
have a laptop.

Any desktop with XFCE failed to put the Python files in the correct OS
structure and will not work.


I think I still have a port problem? I am not sure what the normal debug
complaints are on start up.


Sincerely,

Nels

--




n_n


 

Hi Nels,

Try to replace the calibration wire and / or calibration tools with another one that may be causing the problem.
Follow the calibration sequence, always starting with a Reset first.

It's too late for us, that's all I remembered.

73, Gyula HA3HZ


 

sudo usermod -a -G dialout $USER

replacing $USER with your user name


 

Thank you very much,
That got rid of my port ERROR - Tried to open /dev/ttyACM0 and failed

I still have gibberish being swept up
more work to do,
Nels

On Wed, Nov 20, 2019 at 8:32 PM k9wkj <k9wkjham@...> wrote:

sudo usermod -a -G dialout $USER

replacing $USER with your user name



--




n_n


 

On Thu, Nov 21, 2019 at 12:10 AM, Nels Nelsen wrote:


I get this error:
This is firmware error. Old firmware has such bug which happens very often more fresh firmware works better, but it still can happens.
This bug is fixed completely in NanoVNA-Q firmware.

Just update firmware with NanoVNA-Q, it will solve this issue: