compose_remote

Usage
usage: compose_remote.py [-h] [--port PORT] [--file FILE] [--output OUTPUT] [--nreps NREPS] [--segment {A,B,C,D,E}] [--next_seg NEXT_SEG] [--verbose VERBOSE]
                         [pattern ...] uut

Positional Arguments

pattern

Pattern to compose ie 5*AA 5*BB

uut

uut hostname

Named Arguments

--port

Set api port

--file

Template file to upload

--output

Composer output options: oneshot_rearm, oneshot, continuous or a filename

Default: “oneshot_rearm”

--nreps

Number of pattern repetitions

Default: “”

--segment

Possible choices: A, B, C, D, E

Set segment

Default: “”

--next_seg

Queue next_seg active segments

--verbose

increase verbosity

Default: 0

Outline:

Remote control to composer webapp

Examples

Load new Template:

./user_apps/web/compose_remote.py --file=CONFIGS/cycloid_scan_templates.txt acq1001_434

Compose:

./user_apps/web/compose_remote.py --output=oneshot_rearm --segment=A "5*AA 5*BB" acq1001_434

Load new and compose:

./user_apps/web/compose_remote.py --file=CONFIGS/cycloid_scan_templates.txt --output=oneshot_rearm --segment=A "5*AA 5*BB" acq1001_434

Set next_seg segments:

./user_apps/web/compose_remote.py --next_seg=B,E,A,B,C
run_main(args)[source]
send_to_endpoint(url, payload)[source]
send_to_port(host, port, message)[source]
list_of_strings(value)[source]
get_parser()[source]