Skip to content
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

Support for 201 sweep points when using NanoVNA-F V2 #691

Open
haupte opened this issue Feb 10, 2024 · 3 comments
Open

Support for 201 sweep points when using NanoVNA-F V2 #691

haupte opened this issue Feb 10, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@haupte
Copy link

haupte commented Feb 10, 2024

Feature Request

I still suffer from the same problem as described by alfagulf in #371 3 years ago:

Firmware V0.2.0 for the NanoVNA-F V2 now support upto 201 sweep points.

The NanoVNA Saver V0.3.8 program throws an exception when the NanoVNA-F V2 with firmware V0.2.0 is set to a number of sweep points greater than the default 101.

2021-01-26 12:51:15,147 - NanoVNASaver.SweepWorker - ERROR - list assignment index out of range
Traceback (most recent call last):
  File "/home/sabah/Documents/Electronics/NanoVNA-F V2/nanovna-saver-master/NanoVNASaver/SweepWorker.py", line 80, in run
    self._run()
  File "/home/sabah/Documents/Electronics/NanoVNA-F V2/nanovna-saver-master/NanoVNASaver/SweepWorker.py", line 124, in _run
    self.updateData(freq, values11, values21, i)
  File "/home/sabah/Documents/Electronics/NanoVNA-F V2/nanovna-saver-master/NanoVNASaver/SweepWorker.py", line 178, in updateData
    self.data11[offset + i] = data11[i]
IndexError: list assignment index out of range

I thought I bring this to your attention, hoping you rectify this in your new release.

Thanks Sabah

  • My hardware type is SysJoint NanoVNA-F V2.
  • My firmware release is v0.5.0. This release allows for setting the device to 201 sweep points maximum.
  • I use vnasaver v0.6.2.post1.dev2+g2f8c534 (because I don't know how to compile release 0.6.3) that detects the hardware as "NanoVNA-F_V2" and its firmware as "NanoVNA-F_V2 v0.5.0".

When I connect vnasaver to NanoVNA-F V2 then the NanoVNA is remotely set to 101 sweep points although before I'd set it to 201 sweep points manually. In vnasaver there are fixed options to set 11, 51 and 101 sweep points and "Custom points" allow 101 points maximum.

Wouldn't there be a solution to raise the maximum number of sweep point in vnasaver?

Tnx, Erich

@haupte haupte added the enhancement New feature or request label Feb 10, 2024
@alfagulf
Copy link

Hello Haupte,
This is what I found 3 years ago.

I thought I share with you my solution to the fact that the NanoVNS Saver program V0.3.8 lists only 11,51,101 datapoint in the settings although the NanoVNA-F V2 new firmware allows upto 201 sweep data points.
I found that under the Hardware folder there are python files for each supported hardware, in the NanoVNA-F_V2.py file I add the line shown in green to the class section as follows:

class NanoVNA_F_V2(NanoVNA):
name = "NanoVNA-F_V2"
screenwidth = 800
screenheight = 480
valid_datapoints = (101, 11, 51, 201)

I hope that may be of a help to some of you.
Best regards,

@haupte
Copy link
Author

haupte commented Feb 10, 2024

Thank you, dear Sabah!

I tried the same source code modification but, unfortunately, my knowledge is not sufficient to do an on-line build targetting Windows. For now, the only possible pre-defined options with "make" are Linux variants.

I will have to wait until Windows builds are standard again. 😅

I will keep the issue open. Perhaps there is an official developer who shows mercy to me and releases a Windows execution module.

Sincerly,
Erich

@lx1cw
Copy link

lx1cw commented Feb 25, 2024

I have the same problem. However, my NanoVNA-F V2 with firmware v0.5.0 can measure 301 points. I need a PC software for Windows (.exe) that can handle the device that has been manually converted to 301 measuring points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants