开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: connecting to macOS to issue commands


 

Use -e switch and enclose multi word command in quotes
?
c:\work\VNA\tinySA\python>python tinysa.py -h
Usage: tinysa.py: [options]
Options:
? -h, --help ? ? ? ? ? ?show this help message and exit
? -p, --plot ? ? ? ? ? ?plot rectanglar
? -c, --scan ? ? ? ? ? ?scan by script
? -S START, --start=START
? ? ? ? ? ? ? ? ? ? ? ? start frequency
? -E STOP, --stop=STOP ?stop frequency
? -N POINTS, --points=POINTS
? ? ? ? ? ? ? ? ? ? ? ? scan points
? -P PORT, --port=PORT ?port
? -d DEV, --dev=DEV ? ? device node
? -v, --verbose ? ? ? ? verbose output
? -C FILE, --capture=FILE
? ? ? ? ? ? ? ? ? ? ? ? capture current display to FILE
? -e COMMAND ? ? ? ? ? ?send raw command
? -o SAVE ? ? ? ? ? ? ? write CSV file
? -l LIST ? ? ? ? ? ? ? list SD card files
? -r READ ? ? ? ? ? ? ? read SD card files
c:\work\VNA\tinySA\python>python tinysa.py -e leveloffset
leveloffset low -0.8
leveloffset low_output 0.0
leveloffset switch 0.0
leveloffset receive_switch 1.1
leveloffset out_switch 0.0
leveloffset lna 0.7
leveloffset harmonic 1.6
leveloffset harmonic_lna 2.9
leveloffset shift 1.4
leveloffset shift1 -0.4
leveloffset shift2 0.2
leveloffset shift3 -0.0
leveloffset shift4 0.1
leveloffset drive1 0.0
leveloffset drive2 -2.0
leveloffset drive3 -2.0
leveloffset direct 1.7
leveloffset direct_lna 4.1
leveloffset ultra -0.8
leveloffset ultra_lna 0.6
leveloffset adf 0.0
leveloffset direct_output 0.0

c:\work\VNA\tinySA\python>python tinysa.py -e "leveloffset low_output -1"

c:\work\VNA\tinySA\python>python tinysa.py -e leveloffset
leveloffset low -0.8
leveloffset low_output -1.0
leveloffset switch 0.0
leveloffset receive_switch 1.1
leveloffset out_switch 0.0
leveloffset lna 0.7
leveloffset harmonic 1.6
leveloffset harmonic_lna 2.9
leveloffset shift 1.4
leveloffset shift1 -0.4
leveloffset shift2 0.2
leveloffset shift3 -0.0
leveloffset shift4 0.1
leveloffset drive1 0.0
leveloffset drive2 -2.0
leveloffset drive3 -2.0
leveloffset direct 1.7
leveloffset direct_lna 4.1
leveloffset ultra -0.8
leveloffset ultra_lna 0.6
leveloffset adf 0.0
leveloffset direct_output 0.0

c:\work\VNA\tinySA\python>
?
--
Designer of the tinySA
For more info go to

Join [email protected] to automatically receive all group messages.