quest_upload
Usage
usage: quest_upload.py [-h] [--soft_trigger SOFT_TRIGGER] [--trace_upload TRACE_UPLOAD] [--save_data SAVE_DATA] [--plot_data PLOT_DATA] [--capture CAPTURE]
[--remote_trigger REMOTE_TRIGGER] [--channels CHANNELS] [--CLKDIV CLKDIV] [--POST POST]
uuts [uuts ...]
Positional Arguments
- uuts
uut[s]
Named Arguments
- --soft_trigger
help use soft trigger on capture
Default: 1
- --trace_upload
1: verbose upload
Default: 0
- --save_data
store data to specified directory
- --plot_data
1: plot data
Default: 0
- --capture
1: capture data, 0: wait for someone else to capture, -1: just upload
Default: 0
- --remote_trigger
your function to fire trigger
- --channels
comma separated channel list
Default: “()”
- --CLKDIV
sample rate = 10MHz / CLKDIV
Default: 10
- --POST
set number of post-shot samples
Default: 100000
Outline:
quest upload test
where UUT1 is the ip-address or host name of first uut example test client runs captures in a loop on one or more uuts
pre-requisite: UUT’s are configured and ready to make a transient capture eg clk is running. soft trg enabled eg transient length set.
runs one capture, uploads the data and plots with matplotlib tested with 2 x 8 channels UUT’s (ACQ1014) matplot will get very congested with more channels. this is really meant as a demonstration of capture, load to numpy, it’s not really intended as a scope UI.
example:
./quest_upload.py --POST=60000 --CLKDIV=100 --capture=1 --plot_data=0 --save_data=magdata_0001 --channels=1,2,3,4,32 192.168.1.210
acq400 upload
positional arguments: uuts uut[s]
optional arguments: -h, –help show this help message and exit –soft_trigger SOFT_TRIGGER help use soft trigger on capture –trace_upload TRACE_UPLOAD 1: verbose upload –save_data SAVE_DATA store data to specified directory –plot_data PLOT_DATA 1: plot data –capture CAPTURE 1: capture data, 0: wait for someone else to capture, -1: just upload –remote_trigger REMOTE_TRIGGER your function to fire trigger –channels CHANNELS comma separated channel list –CLKDIV set clock divider (10=1M) –POST set number POST trigger samples