Open d51r3verse opened 4 years ago
Do not use the "pause" command to pause the scan. You can use the "scan" command to pause the screen display and perform a single scan, then use the "data" command to get the data.
I issued single pause
command at outside of the loop.
Inside the loop doing scan
& data 0...1
, Every iterated data array were different( data array only updates after scan command )
In device live mode( trace 0 logmag 0 enabled / live sweep ), pulled CH0 logmag can not up to -21 dB( As I expected ). But, I can see plus level of CH0 logmag when I turned all off traces & markers( blank screen / manual scan via PC ).
https://github.com/qrp73/NanoVNA-Q/issues/16 Same issue appeared latest(f6f948b) NanoVNA-H too.
I using "empty
trace
" command for identify current trace status and scale in my script. But it will hung occasionally. I found the only way to remove this issue, Manually reconfigure traces or simply disable unsued trace slot(trace x off
) before send "emptytrace
". Similar issues onmarker
too.Another issue I found was...
trace all off
->marker 1...4 off
->pause
(Blank screen / LED steady - For fast fetch)scan
&data 0..1
-> Join&save s2p touchstone via scikit-rf Exported everydata 0...1
and sp2 files was exactly same.But data is different with
sweep
&trace 0..1
enabled.( +4 ~ +20 dB point appeared at CH0 logmag ) NanoVNA requires at least one activatedtrace
for get valid data?Always appreciate your contribution.