wait_for_pulse

Usage
usage: wait_for_pulse.py [-h] [--n N] [--reset RESET] [--verbose VERBOSE] uuts [uuts ...]

Positional Arguments

uuts

uut list

Named Arguments

--n

How many trgs to wait through before sending abort cmd. Default: 2

Default: 2

--reset

Whether or not to reset the trg counter before starting. Default: 0

Default: 0

--verbose

Whether or not to print status messages during operation. Default: 0

Default: 0

Outline:

wait_for_pulse.py is a script that monitors the number of trigger pulses that the UUT recieves and sends the abort command once n triggers have passed.

The script is intended to be run before starting a stream. For example, if the user wanted to start the stream on one trigger and stop the stream on the next trigger, then the user would set –n=2 as such:

./wait_for_pulse.py --n=2 --reset=1 acq2106_085

The reset parameter shown above sets the counter to 0.

wait_for_pulse MUST be running BEFORE the stream starts wait_for_pulse does NOT start the stream, some other agent must do that. wait_for_pulse will STOP the stream

run(args)[source]
get_parser()[source]