#!dimctrl --exec

# ==========================================================================
# Take a external Lightpulser Run
# ==========================================================================

# check if all subsystems are in the correct state
.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim

> taking External Light Pulser with BIAS on 1000 ...
MCP/START -1 1000 light-pulser-ext

> ...waiting for FAD to be in state 8: Writing Data
.s FAD_CONTROL 8    # Writing Data

> ...waiting for FAD to be in state 4: Connected
.s FAD_CONTROL 4

> ... done
