¿ªÔÆÌåÓý

Re: Auto Save Issues


 

You could use a Raspberry Pi and the cli tool I've written for the tinySA:
?
A simple bash script that loops over a frequency range and exports the traces with capture could look like this:
?
#!/bin/bash
?
# enable max hold on trace 2
tsactl trace 2 --enable --calc=maxh
?
# sweep between 100mhz and 500mhz in 50mhz steps
for freq in $(seq 100 50 500); do
? ? tsactl sweep --center ${freq}mhz --span 50mhz
? ??
? ? sleep 10
?
? ? # save second trace as csv
? ? tsactl save --trace 2 -o sweep_${freq}mhz.csv
?
? ? # save capture
? ? tsactl save --capture -o sweep_${freq}mhz.png
done
?
If you can code, you could also use the golang sdk for the tinySA which is used by the cli tool:
?
Note that both the cli tool and the sdk are in a very early stage, so if you find any bugs, please report them.
And if you need help, just write me an email.
?
Kevin

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