#!dimctrl --exec

# DIM_CONTROL: resume data taking after it had to be aborted during first run of four
> ----------------------------------------------------------------
> resume taking the 4 data runs after DataTaking was aborted...
> ----------------------------------------------------------------
> Operator: make sure bias is switched on and feedback is running!!!

# check if bias is ramped up and if feedback is running
.s BIAS_CONTROL 9
.s FEEDBACK 12
.s BIAS_CONTROL 9
> bias is on, and feedback-program is working, but we wait 45sec for the current readings...
.w 45000
> ... done

#Data Taking with Full Trigger Area (4x5min)
.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
> taking Data:FullTriggerArea 5min Run 1 ...
MCP/START 300 -1 data
.s FAD_CONTROL 8
.s FAD_CONTROL 4
> ... done

.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
> taking Data:FullTriggerArea 5min Run 2 ...
MCP/START 300 -1 data
.s FAD_CONTROL 8
.s FAD_CONTROL 4
> ... done

.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
> taking Data:FullTriggerArea 5min Run 3 ...
MCP/START 300 -1 data
.s FAD_CONTROL 8
.s FAD_CONTROL 4
> ... done

.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
> taking Data:FullTriggerArea 5min Run 4 ...
MCP/START 300 -1 data
.s FAD_CONTROL 8
.s FAD_CONTROL 4
> ... done

> ----------------------------------------------------
> This is the end of data taking
> ----------------------------------------------------

