bolo8_cal_cap_loop
Usage
usage: bolo8_cal_cap_loop.py [-h] [--cap CAP] [--cal CAL] [--cc CC] [--single_calibration_only SINGLE_CALIBRATION_ONLY] [--post POST] [--clk CLK] [--trg TRG]
[--shots SHOTS] [--active_chan ACTIVE_CHAN] [--fpgpio_strobe FPGPIO_STROBE]
uuts [uuts ...]
Positional Arguments
- uuts
uut list
Named Arguments
- --cap
capture
Default: 1
- --cal
calibrate
Default: 1
- --cc
–cc=1 sets cap=1,cal=0; –cc=2 => cap=0,cal=1; –cc=3 => cal=1,cap=1
- --single_calibration_only
run one calibration shot only
Default: 0
- --post
post trigger length
Default: 100000
- --clk
clk “int|ext SR [CR]”
Default: “int 1000000”
- --trg
trg “int|ext rising|falling”
Default: “int”
- --shots
set number of shots [1]
Default: 1
- --active_chan
comma separated list of active channels, ; to split between uuts (because not all channels have foils)
- --fpgpio_strobe
custom lamp control: 0: OFF, 1:ON >1: flash at N Hz
Outline:
bolo8_cal_cap_loop.py ..
run a bolo8 calibration, store to MDSplus ODD shot
run a bolo8 capture, store to MDSplus EVEN shot
ASSUME : each uut has a tree of the same name
Script calls into MDSplus to increment shots, so it MUST run on the MDSplus server
Example:
run one cal, one capture
./bolo8_cal_cap_loop.py --shots=1 acq2106_059
run 100 cal/captures
./bolo8_cal_cap_loop.py --shots=100 acq2106_059
run one cal
./bolo8_cal_cap_loop.py --cap=0 --shots=1 acq2106_059
run 100 captures
./bolo8_cal_cap_loop.py --cal=0 --shots=100 acq2106_059
bolo8_cal_cap_loop
positional arguments: uuts uut list
optional arguments: -h, –help show this help message and exit –cap CAP capture –cal CAL calibrate –post POST post trigger length –clk CLK clk “int|ext SR [CR]” –trg TRG trg “int|ext rising|falling” –shots SHOTS set number of shots [1]
- set_next_shot(args, flavour, info)