acq400_load_awg
Usage
usage: acq400_load_awg.py [-h] [--file FILE] [--mode MODE] [--awg_extend AWG_EXTEND] [--soft_trigger SOFT_TRIGGER] [--reps REPS] [--port PORT] [--clk CLK] [--trg TRG]
[--sim SIM] [--trace TRACE] [--auto_soft_trigger AUTO_SOFT_TRIGGER] [--clear_counters] [--playtrg PLAYTRG] [--aosite AOSITE]
[--playdiv PLAYDIV]
uuts
Positional Arguments
- uuts
uut
Named Arguments
- --file
file to load
Default: “”
- --mode
mode: 1 oneshot, 2 oneshot_autorearm
Default: 2
- --awg_extend
Number of times the AWG is repeated.
Default: 1
- --soft_trigger
Emit soft trigger
Default: 1
- --reps
Repetitions
Default: 1
- --port
optional port number for fast start server
- --clk
int|ext|zclk|xclk,fpclk,SR,[FIN]
- --trg
int|ext,rising|falling
- --sim
s1[,s2,s3..] list of sites to run in simulate mode
- --trace
1 : enable command tracing
- --auto_soft_trigger
force soft trigger generation
Default: 0
- --clear_counters
clear all counters SLOW
Default: False
- --playtrg
int|ext,rising|falling
- --aosite
Site of AO module
- --playdiv
CLKDIV for play site
Outline:
upload file to AWG for a one-shot play
data for upload is a single file assumes that clocking has been pre-assigned.
load awg simplest
- positional arguments:
uuts uut
- options:
- -h, --help
show this help message and exit
- --file FILE
file to load
- --mode MODE
mode: 1 oneshot, 2 oneshot_autorearm
- --awg_extend AWG_EXTEND
Number of times the AWG is repeated.
- --soft_trigger SOFT_TRIGGER
Emit soft trigger
- --reps REPS
Repetitions
- --port PORT
optional port number for fast start server
- --clk CLK
int|ext|zclk|xclk,fpclk,SR,[FIN]
- --trg TRG
int|ext,rising|falling
- --sim SIM
s1[,s2,s3..] list of sites to run in simulate mode
- --trace TRACE
1 : enable command tracing
- --auto_soft_trigger AUTO_SOFT_TRIGGER
force soft trigger generation
- --clear_counters
clear all counters SLOW
- --playtrg PLAYTRG
int|ext,rising|falling
- --aosite AOSITE
Site of AO module
- --playdiv PLAYDIV
CLKDIV for play site
By default, the unit loads to well known server ports as described in 4GUG. However a dedicated server is available that can improve upload time: example load to a dedicated server:
set up the server: acq1001_074> bb load –mode 1 –port 52233
run hapi: ./user_apps/acq400/acq400_load_awg.py –auto_soft_trigger=1 –reps=9 –file W32M –mode=1 –aosite=1 –port=52233 acq1001_074