acq400_upload

Usage
usage: acq400_upload.py [-h] [--save_data SAVE_DATA] [--plot_data PLOT_DATA] [--one_plot ONE_PLOT] [--trace_upload TRACE_UPLOAD] [--channels CHANNELS] uuts [uuts ...]

Positional Arguments

uuts

uut[s]

Named Arguments

--save_data

store data to specified directory, suffix {} for shot #

--plot_data

0: plot data, all channels. N: first N, -N: first N, all one plot

--one_plot

1: plot data

--trace_upload

1: verbose upload

Default: 0

--channels

comma separated channel list

Default: “()”

Outline:

acq400_upload.py :: simplified upload-only program.

For fullshot capture and upload, see acq400_fullshot.py

example: upload data from previous “DEMUX=0” shot:

[pgm@hoy5 acq400_hapi]$ ./user_apps/acq400/acq400_upload.py --save_data BOLO --trace_upload 1 acq2106_123
INFO: Shotcontroller.handle_data() acq2106_123 data valid: UNKNOWN
TIMING:func:'handle_data' took: 11.63 sec
RAW DATA BOLO/acq2106_123_CH00 size 19200000
TIMING:func:'upload' took: 23.67 sec
TIMING:func:'run_main' took: 23.67 sec
[pgm@hoy5 acq400_hapi]$ ls -l BOLO
BOLO/        BOLO_README
[pgm@hoy5 acq400_hapi]$ ls -l BOLO/
acq2106_123_CH00  format
[pgm@hoy5 acq400_hapi]$ ls -l BOLO/acq2106_123_CH00
-rw-r--r-- 1 pgm pgm 19200000 Jul  2 20:27 BOLO/acq2106_123_CH00
class TimedShotController[source]

Bases: ShotControllerWithDataHandler

handle_data(args)[source]
__init__(_uuts, args, shot=None)[source]
upload(args, doClose=False)[source]
uniq(inp)[source]
get_parser(argStr=None)[source]
run_main(args)[source]