Jim Lux 2022/06/14 13:07
On 6/14/22 11:43 AM, Anne Ranch wrote:
>
> This is not a complaint, just an recent new user observations.
>
> NanoVNA displays results of test practically instantly and
> automatically AFTER “menu” is
>
> exited.
>
> NanaoVNA-Saver ( 0.4.0) “sweep” is manual and painfully slow...
>
> Is the “problem “ in low serial baud rate ?
>
> There is no visible means to set / configure the baud rate , or did I
> missed it ?
>
I don't think it's the baud rate (it's a USB pseudo serial, so it is
very fast). It might be how NanoVNA-Saver works - It *might* be some
aspect of how the windowing is done (using PyQT), and it has to go
through event loop and redraw.
When I do a sweep with a command line to the VNA using NanoVNA.py (which
uses the same underlying serial interface code) it comes back very
quickly. ~ 1 second.
time ./nanovna.py
{'rawwave': None, 'plot': False, 'smith': False, 'polar': False,
'delay': False, 'groupdelay': False, 'vswr': False, 'phase': False,
'unwrapphase': False, 'tdr': False, 'scan': False, 'start': 1000000.0,
'stop': 900000000.0, 'points': 101, 'port': None, 'device': None,
'verbose': False, 'capture': None, 'command': None, 'save': None}
[]
port stub
1000000.0 900000000.0 101
set_frequencies 1000000.0 900000000.0 101
real 0m1.240s
user 0m0.583s
sys 0m0.392s
$jimlux$ time ./nanovna.py --start 50000 --stop 100000000 --points 101
-o xyz --port 0
{'rawwave': None, 'plot': False, 'smith': False, 'polar': False,
'delay': False, 'groupdelay': False, 'vswr': False, 'phase': False,
'unwrapphase': False, 'tdr': False, 'scan': False, 'start': 50000.0,
'stop': 100000000.0, 'points': 101, 'port': 0, 'device': None,
'verbose': False, 'capture': None, 'command': None, 'save': 'xyz'}
[]
port stub
50000.0 100000000.0 101
set_frequencies 50000.0 100000000.0 101
set_sweep 50000.0 100000000.0
command:sweep start 50000
command:sweep stop 100000000
command:frequencies
command:data 0
data length 2626
['1.003932833', '-0.000515787']
<snip out>
['1.015809059', '-0.026692859']
['1.016044139', '-0.027005475']
['1.016262888', '-0.027295954']
command:frequencies
real 0m2.888s
user 0m0.888s
sys 0m0.554s
time ./nanovna.py --start 50000 --stop 100000000 --points 201 -o xyz
--port 0
{'rawwave': None, 'plot': False, 'smith': False, 'polar': False,
'delay': False, 'groupdelay': False, 'vswr': False, 'phase': False,
'unwrapphase': False, 'tdr': False, 'scan': False, 'start': 50000.0,
'stop': 100000000.0, 'points': 201, 'port': 0, 'device': None,
'verbose': False, 'capture': None, 'command': None, 'save': 'xyz'}
[]
port stub
50000.0 100000000.0 201
set_frequencies 50000.0 100000000.0 201
command:scan 50000 50025000 101
command:data 0
data length 2626
['1.003917217', '-0.000507782']
<snip out a bunch>
['1.007282853', '-0.013038916']
command:data 1
data length 2630
['-0.000000218', '-0.000000795']
[<snip out a bunch>
real 0m3.514s
user 0m0.916s
sys 0m0.553s
> Secondly – I can “zoom” the “VSWR” (vertical) scale, using mouse
> wheel, but there
>
> is no “unzoom” .. ( “Reset” does not always do “restore “ )
>
> Personalty , and in case of "VSWR" ,
> it would be nice to be able to move the view - both vertically and
> horizontally or
>
> "zoom to area"...
>
> ( PS I do not do "python" - so I cannot "be partof the solution - and
> code ..." )
>
> Cheers
>
>