Wykres commitów

104 Commity (0c352eed6413c4f5dff96c9decd875de5d50d0ae)

Autor SHA1 Wiadomość Data
Holger Müller 0c352eed64 v0.3.9 2021-06-20 13:16:18 +02:00
Sascha Silbe a4f29565c4 Add support for setting TX power on NanoVNA v2
As of firmware version 1.0.2 (tag 20210214) the output power of the TX
ADF4350 can be configured via USB (register 0x42). Add support for
this setting in NanoVNASaver.

The SI5351 does not support setting the output voltage / power (only
the maximum current which controls rise / fall time rather than output
power) so we can only affect frequencies from 140MHz up. Clearly show
this in the UI so there are no surprises.

Because we can only detect this capability by talking to the VNA, the
setting is populated during connect.

*WARNING*: The automatic first sweep after connecting to the VNA will
be performed at maximum power (default). Sensitive equipment should
not be connect until after NanoVNASaver has connected to the NanoVNA
v2 and the setting has been changed.
2021-04-06 11:34:01 +02:00
Sascha Silbe dd8e86555c Hardware: Add information about maximum stop frequency for all models
The various models of VNAs supported by NanoVNASaver support very
different frequency ranges. Make the maximum stop frequency for each
model available as an attribute so we can use it later on.

The settings are based on information from:

- AVNA: http://www.janbob.com/electron/AVNA1/AVNA-UsersManual.pdf
- NanoVNA (v1):
  https://www.dropbox.com/s/0t1ms1y0uyaa90s/NanoVNA-a1-20170115.pdf?dl=1 (linked
  from https://ttrf.tk/kit/nanovna/)
- NanoVNA-F: https://github.com/flyoob/NanoVNA-F
- NanoVNA-F V2: http://www.sysjoint.com/pdf/NanoVNA-F%2520V2%2520Portable%2520Vector%2520Network%2520Analyzer%2520User%2520Guide%2520V1.0.pdf
- NanoVNA-H: https://nanovna.com/, https://item.taobao.com/item.htm?id=588815021483
- NanoVNA-H4: https://nanovna.com/
- NanoVNA V2: https://nanorfe.com/nanovna-v2.html
2021-04-06 11:25:37 +02:00
Holger Müller 4204bad346
Merge pull request #369 from galileo-pkm/H4_401
401 sweep points
2021-02-19 19:11:40 +01:00
Galileo 5fa16c65a3 401 sweep points 2021-01-08 20:53:07 +01:00
Mauro Gaioni ec08d068c2 try to read initial frequencies 2020-12-23 16:15:08 +01:00
Holger Müller d54627f993 Fix #323
Start freq of V2 with S21 hack cannot go negative any longer
2020-10-03 14:01:30 +02:00
Holger Müller 9cb7175cf8 Fix #323
Start freq of V2 with S21 hack cannot go negative any longer
2020-10-03 13:52:51 +02:00
Holger Müller ed8319a66c Splitted screenshot helper method
_capture_data splitted to remove code redundancy
2020-10-01 13:41:07 +02:00
Holger Müller c4c2f2c6a8 Removed unneeded code from NanoVNA_F
Regarding to @sysjoint-tek changes, getScreenshot method is identical
to base class "NanoVNA"
2020-10-01 13:33:40 +02:00
Holger Müller d1088dd931
Merge branch 'Development' into master 2020-10-01 12:22:05 +02:00
sysjoint-tek 767ccd0033
Create Hardware.py 2020-09-27 16:54:20 +08:00
sysjoint-tek eb87006927
Update and rename NanoVNASaver/Hardware/Hardware.py to NanoVNASaver/硬件/Hardware.py
Added nanovna-F_v2 recognition and screenshots
2020-09-27 16:41:15 +08:00
sysjoint-tek 5705842d43
Add files via upload
Added NanoVNA-F_V2 recognition and screenshots
2020-09-27 16:38:39 +08:00
sysjoint-tek de7d047ba2
Update NanoVNA_F.py
Remove 41 to 64 lines of code from the Nanovna-F file (this will cause the screen to be split into four blocks, each evenly distributed across the full screen??)
2020-09-27 16:35:55 +08:00
Holger Müller d8ad21dc54
Update NanoVNA_V2.py
Only warn if first read didn't get the full dataset
2020-08-23 18:41:38 +02:00
Holger Müller 13bfe102b7
Update NanoVNA_V2.py
Ensure at least 0.1 of timeout
2020-08-23 18:37:00 +02:00
Mark Zachmann 244fc41308 Change the timeout handling by increasing the timeout and
by rereading on timeout via reading more bytes
2020-08-23 08:20:16 -04:00
Holger Müller a7da9c1bfa S21 first mag value error hack 2020-08-03 17:56:43 +02:00
Holger Müller 28ea171441 increased minimal retry time 2020-08-03 17:31:00 +02:00
Holger Müller 21733f9234 Fixed unitialized variable bug in get_info retry 2020-08-03 17:30:28 +02:00
Holger Müller 323db84ef6 Assume every current H4 can do 201 datapoints 2020-07-31 10:26:04 +02:00
Holger Müller 9f5f4b5870 Use scan mask command for read_frequencies if possible 2020-07-31 10:19:29 +02:00
Holger Müller a713959245 RC-01 2020-07-30 09:32:04 +02:00
Holger Müller 569fcdb2e6 Do not validate inut by default.
As it crashes often with uncalibrated devices on connect
2020-07-28 17:34:16 +02:00
Holger Müller 626b474bb6 V2: retry if bulk read has not all data 2020-07-27 16:29:59 +02:00
Holger Müller 684a01beb4 Refactoring Sweep settings 2020-07-25 20:10:24 +02:00
Holger Müller b03ba0adf0 added reconnect on sweep error 2020-07-24 21:11:34 +02:00
Holger Müller ce717bad58 Fixed segments rename / allow some more retries 2020-07-20 20:50:52 +02:00
Holger Müller 97f5083130 more -H/-H4 tests 2020-07-15 17:13:37 +02:00
Holger Müller 0fb7cd6768 Implemented dislord bandwidth method 2020-07-15 14:47:06 +02:00
Holger Müller 4ef83a44f9 No VNA instance for info reading
this was needed as -H variants don't responds the same way classical do
2020-07-14 14:52:19 +02:00
Holger Müller b4ba24d42d Implemented bandwidth selection 2020-07-14 11:32:52 +02:00
Holger Müller 19493012b2 Read initial frequencies from NanoVNA
On first run get frequencies from VNA even with scan mask
2020-07-14 10:02:41 +02:00
Holger Müller d8ac822963 Increased retry count 2020-07-13 14:20:23 +02:00
Holger Müller 22c4a320e6 Better retry logging in serial communication 2020-07-13 00:09:00 +02:00
Holger Müller 9a73e8ba81 Tune timeouts in serial 2020-07-12 21:33:19 +02:00
Holger Müller 2244f57779 scan mask if dislord firmware 2020-07-11 16:51:41 +02:00
Holger Müller b28b010903 Fixed scan mask with nanavna 2020-07-11 15:58:30 +02:00
Holger Müller 8d8d350068 Fixed Bug in Firmware variant detection 2020-07-10 17:11:36 +02:00
Holger Müller 50b5c9e105 assume -H4 has screenshot capability 2020-07-10 12:59:41 +02:00
Holger Müller d4621aad13 Refactored sweep worker
Data now initialized when sweep settings are done.
Thus no range risizing of charts in multi segment mode
2020-07-10 11:10:40 +02:00
Holger Müller 0920761e9f Refactored SweepWorker
should fix marker problem #230
2020-07-09 12:46:26 +02:00
Holger Müller e69349814b Added pause after each write in NanoVNA_V2 2020-07-09 10:52:05 +02:00
Holger Müller 430a970563 Only assume DiSlord firmware has 201 Datapoints 2020-07-08 17:39:35 +02:00
Holger Müller b6f36dc4a8 no need for excessive logging of drain_serial 2020-07-08 17:30:53 +02:00
Holger Müller 8bb5a9821b Assume -H4 has always 201 point sweep capability 2020-07-08 17:29:41 +02:00
Holger Müller 51af621433 Fixed version comparison glitches 2020-07-08 15:47:07 +02:00
Holger Müller 55dd5eda4f fixed typo 2020-07-07 16:50:59 +02:00
Holger Müller 28fb2e280f Removed redundant code from hardware 2020-07-07 16:48:43 +02:00