run_AquadB_movement

Usage
usage: run_AquadB_movement.py [-h] [--callback CALLBACK] [--burst_on_demand BURST_ON_DEMAND] [--trigger_from_here TRIGGER_FROM_HERE] [--subset SUBSET]
                              [--filesize FILESIZE] [--filesamples FILESAMPLES] [--files_per_cycle FILES_PER_CYCLE] [--force_delete FORCE_DELETE] [--nowrite NOWRITE]
                              [--totaldata TOTALDATA] [--root ROOT] [--runtime RUNTIME] [--verbose VERBOSE] [--display DISPLAY] [--combine COMBINE] [--stim STIM]
                              [--dwg DWG]
                              uuts [uuts ...]

Positional Arguments

uuts

uuts

Named Arguments

--callback

not for users, client programs can install a callback here

--burst_on_demand

Burst Size in Samples[,./plotjob]

--trigger_from_here

action soft trigger from this application

Default: 0

--subset

subset command if present eg 1,5 :: strips first 5 channels

--filesize

file size in bytes

Default: 1048576

--filesamples

file size in samples (overrides filesize)

--files_per_cycle

files per cycle (directory)

Default: 100

--force_delete

silently delete any existing data files

Default: 0

--nowrite

do not write file

Default: 0

--totaldata

Default: 10000000000

--root

Location to save files. Default dir is UUT name.

Default: “”

--runtime

How long to stream data for

Default: 1000000

--verbose

Prints status messages as the stream is running

Default: 0

--display

Render display

Default: 1

--combine

Combine all cycle files into one

Default: 0

--stim

stimulator uut

--dwg

stimulator dwg file to load

Outline:

run_AquadB_movement [ –monitor VALUE] [acq400_upload opts] uut …

Run a stream capture while monitoring AquadB position.

WAIT_START: wait for position to change WAIT_END : wait for position to stop changing

The UUT is assumed to trigger a stimulator box that will run a movement simulation. OR, it could be a real movement. We don’t care.

class AquadB_callback[source]

Bases: object

class State

Bases: Enum

WaitCountActive = 1
WaitCountStop = 2
Finished = 3
aqb_count = 0
onChanges(value=None, char_value=None, **kw)[source]
__init__(args)[source]
BUFFERS_PER_EPICS_CB = 20
COUNT_DEADBAND = 100
load_stim(uut, dwg)[source]
main(args)[source]
get_parser(parser=None)[source]