-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: NanoVNA-Saver V 7.1 crashed / hangs with LiteVNA64 #796
Comments
Can you use debug mode and post output? Reinstallation should not be necessary - states from Location of this file is mentioned in debug message |
previous runs are in a flie called NanoVNASaver.iniBefore I had been looking for it, could not find it, where is it located ?? How to get into debug mode >> |
Finally found nanovnasaver.ini in xxx/AppdData/Roaming and deleted it. |
You can call This file can be attached to a issue post on github, so it doesn't clutter up the issue text. |
You can call nanovna-saver -d to get debug output or nanovna-saver -D debug.txt to create a debug file.As said I'm running the executable (.exe file) ! After deleting nanovnasaver.ini and running NanoVNA-Saver again, I have to connect NanoVNA-Saver to the device (COM 5) and WAIT A LONG TIME until the earlier mentioned errormessage shows-up. After that I could perform a FULL calibration 10MHz to 100MHz using the "Calibration manager. |
and your .exe did not accept parameters when started from a terminal? |
So sorry I did not know this was possible , never diid this, will try ! |
No, Nanovna-saver.exe on the terminal starts the program, and nanovna-saver.exe -d debug.txt just returns to the prompt and no indication that debug.txt is generated, program not started. Update: I'm using Window's CMD, maybe a real terminal software will do it ! |
For debugging to file you need a capital -D not a small letter. -h lists all options. |
For debugging to file you need a capital -D not a small letter. OK, understood. |
I did a lot of testing today and to my surprise I found a debug file in the repository of nanovnasaver.exe it was unreportedly stored by windows CMD. I have added it to this post. |
After having sent the rquested debug.txt file, I think I can't do much more to help finding the cause of the problem in running Nanovna-saver together with my LiteVNA64. When I can do more, please ask. Please answer my cuestion about using the "calibration". Are, apart from Start- and Stop-frewquency, all settings fixed, "Ënhanced RESPONSE" included, or is it possible to include some user settings like "nummber of segments" , Averaged sweep, number of "ÄVG's" etc. Thank you so much for all the hard work to improve the software. |
Hi Jos, unluckily there is no crash to be seen in the attached debug.txt. If you have trouble with restarting you can delete: C:/Users/Jos/AppData/Roaming/NanoVNASaver/NanoVNASaver.ini and any other .ini file in that directory to get a fresh / like new installed state. Can you give the program another try with the -D newdebug.txt option started from the console? |
unluckily there is no crash to be seen in the attached debug.txt.Yes that's what I said. C:/Users/Jos/AppData/Roaming/NanoVNASaver/NanoVNASaver.iniDeleted it several times. Can you give the program another try with the -D newdebug.txt option started from the console?That's what I'm doing at the moment, will send it when I find an interesting one ! |
OK, I started " nanovnasaver.exe -D debug-4.txt" in Window's CMD (had NOT deleted .ini ) This one showes more : |
Today I did the same thing, but after deleting nanovnasaver.ini first, the short calibration ended up with Then deleted nanovnasaver.ini and left Start/Stop 200MHz/400MHz. |
The problem is in the serial communication with the LiteVNA64 (it's derived from NanaVNA_V2 protocol therefor the modules log name). It seems that for some reason not all bytes are recieved on all commands... |
The communication was working when the original V2 protocol was used (when LiteVNA64 was recognised as being a V2)! |
Bug Report
NanoVNA-Saver version: Version 7.1
Current behavior:
I downloaded NanoVNASaverx64.zip and unzipped the .exe file in a new repository on my Windows11 computer.
It looked like it was running well, so I tried to run a calibration 10MHz to 6GHz.
During this process, for some reason, I got the errormessage "Error during sweep, Stopped, Invalid data during sweep".
Since then, when I start NanoVNA-Saver, I can connect NanoVNA-Saver to my LiteVNA64, the device switches into USB mode,
but I can't enter the "Start" and "Stop" frequency into NanoVNA-Saver.
Then, after a long time of waiting the earlier mentioned errormessage pops-up again.
After clicking "ÖK" I cann enter the start and stop frequency and run a sweep one time only, the second time, after waiting long, the
errormessage shows-up again.
I tried , deleting NanoVNA-Saver.exe and restarting the computer, cleaning my system by using "CCleaner PRO", re-downloading
NanoVNASaverx64.zip and unzipping the .exe into it's repository, nothing helps, te same things happen !!
The text was updated successfully, but these errors were encountered: