Index: trunk/FACT++/ScriptsForDimCtrl/BlinkenLights
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/BlinkenLights	(revision 13719)
+++ 	(revision )
@@ -1,24 +1,0 @@
-# This is a general test for DimCtrl scripts
-# it will just let the LEDs in the FAD tab next to the buttons
-# 'Fits' and 'None' blink
-FAD_CONTROL/SET_FILE_FORMAT 0
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 0
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 0
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 0
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 0
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 1000
-FAD_CONTROL/SET_FILE_FORMAT 0
Index: trunk/FACT++/ScriptsForDimCtrl/BlinkenLights.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/BlinkenLights.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/BlinkenLights.dim	(revision 13720)
@@ -0,0 +1,26 @@
+#!dimctrl --exec
+
+# This is a general test for DimCtrl scripts
+# it will just let the LEDs in the FAD tab next to the buttons
+# 'Fits' and 'None' blink
+FAD_CONTROL/SET_FILE_FORMAT 0
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 0
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 0
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 0
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 0
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 1000
+FAD_CONTROL/SET_FILE_FORMAT 0
Index: trunk/FACT++/ScriptsForDimCtrl/Calib1024
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/Calib1024	(revision 13719)
+++ 	(revision )
@@ -1,28 +1,0 @@
-# This sript takes a DRS Calibration for data of ROI=1024
-# Making sure bias is off
-.! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-FEEDBACK/ENABLE_OUTPUT 1
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-FAD_CONTROL/START_DRS_CALIBRATION
-.! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 drs-gain
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
Index: trunk/FACT++/ScriptsForDimCtrl/Calib1024.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/Calib1024.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/Calib1024.dim	(revision 13720)
@@ -0,0 +1,30 @@
+#!dimctrl --exec
+
+# This sript takes a DRS Calibration for data of ROI=1024
+# Making sure bias is off
+.! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+FEEDBACK/ENABLE_OUTPUT 1
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+FAD_CONTROL/START_DRS_CALIBRATION
+.! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 drs-gain
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
Index: trunk/FACT++/ScriptsForDimCtrl/DataTaking1
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/DataTaking1	(revision 13719)
+++ 	(revision )
@@ -1,142 +1,0 @@
-# Move Telescope to Wobble Position 1
->
-> -----------
-> data taking script for Wobble 1 starting up...
-> -----------
->
-> Operator: make sure that telescope is tracking wobble position 1 of source
->
-#> ... This script will wait 10sec for you
-#.w 10000
-
-FEEDBACK/ENABLE_OUTPUT 1
-
-# Making sure bias is off
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-FAD_CONTROL/START_DRS_CALIBRATION
-> bias voltage is switched off
->
-> taking DRS:Pedestal 1000 ...
-.s FAD_CONTROL 4
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking DRS:Gain 1000 ...
-MCP/START -1 1000 drs-gain
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking DRS:Pedestal 1000 ...
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking crosscheck DRS:Pedestal 1000 ...
-FAD_CONTROL/SET_FILE_FORMAT 2
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking DRS:Time 1000 ...
-MCP/START -1 1000 drs-time
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking DRS:Time upshifted 1000 ...
-MCP/START -1 1000 drs-time-upshifted
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking Pedestal 1000 for secondary baseline...
-FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking crosscheck Pedestal 1000 ...
-FAD_CONTROL/SET_FILE_FORMAT 2
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-> Operator: Measure Sky Brightness
-
-# switch BIAS ON and ramp to nominal Voltage
-> checking feedback state
-.s FEEDBACK 12
-> ... Current/Temp control active and voltage output enabled
-> switching on bias ...
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-.s BIAS_CONTROL 9 # Voltage ON
-> ...set 1 DAC
-.s BIAS_CONTROL 5 # Ramping
-> ...ramping
-.s BIAS_CONTROL 9 # Voltage ON
-> ...bias ON
-# here one should wait 30..45sec according to TB
-> bias is on, and feedback-program is working, but we wait 45sec for the current readings...
-.w 45000
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Pedestal with BIAS on 1000 ...
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking External Light Pulser with BIAS on 1000 ...
-MCP/START -1 1000 light-pulser-ext
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-#Data Taking with Full Trigger Area (4x5min)
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 1 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 2 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 3 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> 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 of Wobble 1
-> ----------------------------------------------------
Index: trunk/FACT++/ScriptsForDimCtrl/DataTaking1.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/DataTaking1.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/DataTaking1.dim	(revision 13720)
@@ -0,0 +1,144 @@
+#!dimctrl --exec
+
+# Move Telescope to Wobble Position 1
+>
+> -----------
+> data taking script for Wobble 1 starting up...
+> -----------
+>
+> Operator: make sure that telescope is tracking wobble position 1 of source
+>
+#> ... This script will wait 10sec for you
+#.w 10000
+
+FEEDBACK/ENABLE_OUTPUT 1
+
+# Making sure bias is off
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+FAD_CONTROL/START_DRS_CALIBRATION
+> bias voltage is switched off
+>
+> taking DRS:Pedestal 1000 ...
+.s FAD_CONTROL 4
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking DRS:Gain 1000 ...
+MCP/START -1 1000 drs-gain
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking DRS:Pedestal 1000 ...
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking crosscheck DRS:Pedestal 1000 ...
+FAD_CONTROL/SET_FILE_FORMAT 2
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking DRS:Time 1000 ...
+MCP/START -1 1000 drs-time
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking DRS:Time upshifted 1000 ...
+MCP/START -1 1000 drs-time-upshifted
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking Pedestal 1000 for secondary baseline...
+FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking crosscheck Pedestal 1000 ...
+FAD_CONTROL/SET_FILE_FORMAT 2
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+> Operator: Measure Sky Brightness
+
+# switch BIAS ON and ramp to nominal Voltage
+> checking feedback state
+.s FEEDBACK 12
+> ... Current/Temp control active and voltage output enabled
+> switching on bias ...
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+.s BIAS_CONTROL 9 # Voltage ON
+> ...set 1 DAC
+.s BIAS_CONTROL 5 # Ramping
+> ...ramping
+.s BIAS_CONTROL 9 # Voltage ON
+> ...bias ON
+# here one should wait 30..45sec according to TB
+> bias is on, and feedback-program is working, but we wait 45sec for the current readings...
+.w 45000
+> ... done
+
+# check if all subsystems are in the correct state
+.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
+> taking Pedestal with BIAS on 1000 ...
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+# 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
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+#Data Taking with Full Trigger Area (4x5min)
+
+# check if all subsystems are in the correct state
+.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
+
+# check if all subsystems are in the correct state
+.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
+
+# check if all subsystems are in the correct state
+.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
+
+# check if all subsystems are in the correct state
+.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 of Wobble 1
+> ----------------------------------------------------
Index: trunk/FACT++/ScriptsForDimCtrl/DataTaking2
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/DataTaking2	(revision 13719)
+++ 	(revision )
@@ -1,63 +1,0 @@
-# Move Telescope to Wobble Position 2
->
-> -----------
-> data taking script for Wobble 2 starting up...
-> -----------
->
-> Operator: make sure that telescope is tracking wobble position 2 of source
-> Operator: Measure Sky Brightness
->
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Pedestal with BIAS on 1000 ...
-.s FAD_CONTROL 4
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking External Light Pulser with BIAS on 1000 ...
-MCP/START -1 1000 light-pulser-ext
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-#Data Taking with Full Trigger Area (4x5min)
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 1 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 2 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 3 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# check if all subsystems are in the correct state
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> 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 of Wobble 2
Index: trunk/FACT++/ScriptsForDimCtrl/DataTaking2.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/DataTaking2.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/DataTaking2.dim	(revision 13720)
@@ -0,0 +1,66 @@
+#!dimctrl --exec
+
+
+# Move Telescope to Wobble Position 2
+>
+> -----------
+> data taking script for Wobble 2 starting up...
+> -----------
+>
+> Operator: make sure that telescope is tracking wobble position 2 of source
+> Operator: Measure Sky Brightness
+>
+
+# check if all subsystems are in the correct state
+.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
+> taking Pedestal with BIAS on 1000 ...
+.s FAD_CONTROL 4
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+# 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
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+#Data Taking with Full Trigger Area (4x5min)
+
+# check if all subsystems are in the correct state
+.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
+
+# check if all subsystems are in the correct state
+.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
+
+# check if all subsystems are in the correct state
+.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
+
+# check if all subsystems are in the correct state
+.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 of Wobble 2
Index: trunk/FACT++/ScriptsForDimCtrl/FeedbackOn
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/FeedbackOn	(revision 13719)
+++ 	(revision )
@@ -1,123 +1,0 @@
-# dimctrl script
->
-> -------------------------------------------
-> Bias and Feedback StartUp (Current Calibration)
-> -------------------------------------------
-
-.w 2000
-# As a First step we want to calibrate the current, which are read from the bias crate,
-# and not take a DRS calibration, as it is mentioned in the data taking page...
-# so for this we should get the feedback and biasctrl programs into known states
-# I think it is good to try a RECONNECT to the bias, and make sure the voltage is off
-#
-# NOTE:
-# The ideas in the line above are both valid, but both not done.
-# This is *not good*
-
-# Since we do not know, what the feedback program is doing at the moment, we should as well,
-# tell it to keep its mouth shut ... just to be sure, we know whats going on
-> stopping feedback
-FEEDBACK/STOP
-.w 2000
-# stopping should always be possible, and end in state 'Connected'(6)
-.s FEEDBACK 6
-> ..done
-
-#BIAS_CONTROL/RECONNECT
-# If we were disconnected, and this was the first try of the night, the bias_ctrl should
-# be in state 'VoltageOff'(7) more or less immediately
-#.s BIAS_CONTROL 3
-#.s BIAS_CONTROL 7 5000
-# if these assumptions are all wrong, then we might have been properly connected anyway,
-# and just have to ramp down... lets do it, but wait forever, in case it does not work
-> switching off bias
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.w 2000
-.s BIAS_CONTROL 7
-> ...done
-
-# in case we reach this line, the voltages are all off, and the feedback does not do anything
-# So lets do the current calibration, therefor we tell the bias crate to ramp up just 1 single DAC count(~22mV)
-# the result of this action is, to get bias_ctrl into the state 'VoltageOn'(9), but since we only go one DAC count it shouldn't take long
-> setting bias globally to 1 DAC
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-.w 2000
-.s BIAS_CONTROL 9
-> ...done
-
-# now we may tell the feedback program to calibrate the currents ...
-# I do not understand, if I have to explicitely allow the feedback program to generate output,
-# or if it just produces output...
-# As far as I understand, the feedback output enable status is the same,
-# as it was before I send the STOP command... so it is unknown at this point.
-# and in addition enabling or disabling the output, when STOPed is not possible as far as I know...
-# I try to enable it anyway.
-> enabling output for feedback
-FEEDBACK/ENABLE_OUTPUT yes
-.w 2000
-> ...done
-
-> calibrating bias crate current readings...
-FEEDBACK/CALIBRATE_CURRENTS
-.w 5000
-# in order to find out when the calibration ends, we have to wait for the transistion from state
-# 'Calibrating'(13) back to 'Connected'(6)
-.s FEEDBACK 13
-.s FEEDBACK 6
-
-# Thomas Bretz told me, that the feedback, after this step has disabled its output
-# and is in the mode, we might call 'temperature control' even there is no temerature beeing controlled.
-# I don't know where the voltage is ... in order to perform the calibration, the feedback had to
-# ramp up to 2V below the operational voltage, i.e. about 1V below the breakdown voltage
-
-# We want to take a DRS amplitude calibration so we have to ramp down the bias voltage.
-# this 10sec wait is needed in order for the bias not to disconect all the time...
-> ... current calibration done
-.w 10000
-
-> switching off bias
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.w 5000
-.s BIAS_CONTROL 7
-> ...done
-
-# now we want to take a run, with dark counts events
-# so we need to ramp up the voltage
-# we want to use the 'current control' more so we give the commands for this...
-> switching on current controll feedback ...
-FEEDBACK/STOP
-FEEDBACK/START_CURRENT_CONTROL 0.0
-FEEDBACK/ENABLE_OUTPUT yes
-# the feedback should be in state 'CurrentControl'(12) now
-.s FEEDBACK 12
-> ... done
-> switching on bias
-# now we give the feedback a hint, that it may ramp ...
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-# after this command the bias_ctrl should be in state 'VoltageOn'(9) after a second or so
-.s BIAS_CONTROL 9
-> ...1 DAC globally set
-# then usually it takes some time until the feedback has enough information to really start controlling the voltage
-# when the feedback actually kicks in, the bias is first in state 'Ramping'(5) for some seconds and finally in 'VoltageOn'(9)
-# again
-.s BIAS_CONTROL 5
-> ...ramping to nominal voltage
-.s BIAS_CONTROL 9
-> ...bias on
-# here we should wait 45 sec in order for the current control to get enough current readings and temp readings to stabilize..
-> waiting 45sec for the current control to stabilize...
-.w 45000
-> ... done
-
-
-# at the end the bias voltage should be ramped down, since in a few seconds a shifter wit ha flashlight
-# will come out to open the shutter...
-> switching OFF bias ... 
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-> ...done
-> ----------------------------------------------------
-> Bias and Feedback StartUp (Current Calibration)
-> ... done.
-> ----------------------------------------------------
->
Index: trunk/FACT++/ScriptsForDimCtrl/FeedbackOn.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/FeedbackOn.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/FeedbackOn.dim	(revision 13720)
@@ -0,0 +1,125 @@
+#!dimctrl --exec
+
+# dimctrl script
+>
+> -------------------------------------------
+> Bias and Feedback StartUp (Current Calibration)
+> -------------------------------------------
+
+.w 2000
+# As a First step we want to calibrate the current, which are read from the bias crate,
+# and not take a DRS calibration, as it is mentioned in the data taking page...
+# so for this we should get the feedback and biasctrl programs into known states
+# I think it is good to try a RECONNECT to the bias, and make sure the voltage is off
+#
+# NOTE:
+# The ideas in the line above are both valid, but both not done.
+# This is *not good*
+
+# Since we do not know, what the feedback program is doing at the moment, we should as well,
+# tell it to keep its mouth shut ... just to be sure, we know whats going on
+> stopping feedback
+FEEDBACK/STOP
+.w 2000
+# stopping should always be possible, and end in state 'Connected'(6)
+.s FEEDBACK 6
+> ..done
+
+#BIAS_CONTROL/RECONNECT
+# If we were disconnected, and this was the first try of the night, the bias_ctrl should
+# be in state 'VoltageOff'(7) more or less immediately
+#.s BIAS_CONTROL 3
+#.s BIAS_CONTROL 7 5000
+# if these assumptions are all wrong, then we might have been properly connected anyway,
+# and just have to ramp down... lets do it, but wait forever, in case it does not work
+> switching off bias
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.w 2000
+.s BIAS_CONTROL 7
+> ...done
+
+# in case we reach this line, the voltages are all off, and the feedback does not do anything
+# So lets do the current calibration, therefor we tell the bias crate to ramp up just 1 single DAC count(~22mV)
+# the result of this action is, to get bias_ctrl into the state 'VoltageOn'(9), but since we only go one DAC count it shouldn't take long
+> setting bias globally to 1 DAC
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+.w 2000
+.s BIAS_CONTROL 9
+> ...done
+
+# now we may tell the feedback program to calibrate the currents ...
+# I do not understand, if I have to explicitely allow the feedback program to generate output,
+# or if it just produces output...
+# As far as I understand, the feedback output enable status is the same,
+# as it was before I send the STOP command... so it is unknown at this point.
+# and in addition enabling or disabling the output, when STOPed is not possible as far as I know...
+# I try to enable it anyway.
+> enabling output for feedback
+FEEDBACK/ENABLE_OUTPUT yes
+.w 2000
+> ...done
+
+> calibrating bias crate current readings...
+FEEDBACK/CALIBRATE_CURRENTS
+.w 5000
+# in order to find out when the calibration ends, we have to wait for the transistion from state
+# 'Calibrating'(13) back to 'Connected'(6)
+.s FEEDBACK 13
+.s FEEDBACK 6
+
+# Thomas Bretz told me, that the feedback, after this step has disabled its output
+# and is in the mode, we might call 'temperature control' even there is no temerature beeing controlled.
+# I don't know where the voltage is ... in order to perform the calibration, the feedback had to
+# ramp up to 2V below the operational voltage, i.e. about 1V below the breakdown voltage
+
+# We want to take a DRS amplitude calibration so we have to ramp down the bias voltage.
+# this 10sec wait is needed in order for the bias not to disconect all the time...
+> ... current calibration done
+.w 10000
+
+> switching off bias
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.w 5000
+.s BIAS_CONTROL 7
+> ...done
+
+# now we want to take a run, with dark counts events
+# so we need to ramp up the voltage
+# we want to use the 'current control' more so we give the commands for this...
+> switching on current controll feedback ...
+FEEDBACK/STOP
+FEEDBACK/START_CURRENT_CONTROL 0.0
+FEEDBACK/ENABLE_OUTPUT yes
+# the feedback should be in state 'CurrentControl'(12) now
+.s FEEDBACK 12
+> ... done
+> switching on bias
+# now we give the feedback a hint, that it may ramp ...
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+# after this command the bias_ctrl should be in state 'VoltageOn'(9) after a second or so
+.s BIAS_CONTROL 9
+> ...1 DAC globally set
+# then usually it takes some time until the feedback has enough information to really start controlling the voltage
+# when the feedback actually kicks in, the bias is first in state 'Ramping'(5) for some seconds and finally in 'VoltageOn'(9)
+# again
+.s BIAS_CONTROL 5
+> ...ramping to nominal voltage
+.s BIAS_CONTROL 9
+> ...bias on
+# here we should wait 45 sec in order for the current control to get enough current readings and temp readings to stabilize..
+> waiting 45sec for the current control to stabilize...
+.w 45000
+> ... done
+
+
+# at the end the bias voltage should be ramped down, since in a few seconds a shifter wit ha flashlight
+# will come out to open the shutter...
+> switching OFF bias ...
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+> ...done
+> ----------------------------------------------------
+> Bias and Feedback StartUp (Current Calibration)
+> ... done.
+> ----------------------------------------------------
+>
Index: trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib	(revision 13719)
+++ 	(revision )
@@ -1,162 +1,0 @@
-# dimctrl script
->
-> -------------------------------------------
-> First DRS Calibration Script starting up...
-> -------------------------------------------
-
-.w 2000
-# As a First step we want to calibrate the current, which are read from the bias crate,
-# and not take a DRS calibration, as it is mentioned in the data taking page...
-# so for this we should get the feedback and biasctrl programs into known states
-# I think it is good to try a RECONNECT to the bias, and make sure the voltage is off
-# Since we do not know, what the feedback program is doing at the moment, we should as well,
-# tell it to keep its mouth shut ... just to be sure, we know whats going on
-> stopping feedback
-FEEDBACK/STOP
-.w 2000
-# stopping should always be possible, and end in state 'Connected'(6)
-.s FEEDBACK 6
-> ..done
-
-#BIAS_CONTROL/RECONNECT
-# If we were disconnected, and this was the first try of the night, the bias_ctrl should
-# be in state 'VoltageOff'(7) more or less immediately
-#.s BIAS_CONTROL 3
-#.s BIAS_CONTROL 7 5000
-# if these assumptions are all wrong, then we might have been properly connected anyway,
-# and just have to ramp down... lets do it, but wait forever, in case it does not work
-> switching off bias
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.w 2000
-.s BIAS_CONTROL 7
-> ...done
-
-# in case we reach this line, the voltages are all off, and the feedback does not do anything
-# So lets do the current calibration, therefor we tell the bias crate to ramp up just 1 single DAC count(~22mV)
-# the result of this action is, to get bias_ctrl into the state 'VoltageOn'(9), but since we only go one DAC count it shouldn't take long
-> setting bias globally to 1 DAC
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-.w 2000
-.s BIAS_CONTROL 9
-> ...done
-
-# now we may tell the feedback program to calibrate the currents ...
-# I do not understand, if I have to explicitely allow the feedback program to generate output,
-# or if it just produces output...
-# As far as I understand, the feedback output enable status is the same,
-# as it was before I send the STOP command... so it is unknown at this point.
-# and in addition enabling or disabling the output, when STOPed is not possible as far as I know...
-# I try to enable it anyway.
-> enabling output for feedback
-FEEDBACK/ENABLE_OUTPUT yes
-.w 2000
-> ...done
-
-> calibrating bias crate current readings...
-FEEDBACK/CALIBRATE_CURRENTS
-.w 5000
-# in order to find out when the calibration ends, we have to wait for the transistion from state
-# 'Calibrating'(13) back to 'Connected'(6)
-.s FEEDBACK 13
-.s FEEDBACK 6
-
-# Thomas Bretz told me, that the feedback, after this is step has disabled its output
-# and is in the mode, we might call 'temperature control' even there is no temerature beeing controlled.
-# I don't know where the voltage is ... in order to perform the calibration, the feedback had to
-# ramp up to 2V below the operational voltage, i.e. about 1V below the breakdown voltage
-
-# We want to take a DRS amplitude calibration so we have to ramp down the bias voltage.
-# this 10sec wait is needed in order for the bias not to disconect all the time...
-> ... current calibration done
-.w 10000
-
-> switching off bias
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.w 5000
-.s BIAS_CONTROL 7
-> ...done
-
-# So now we can take the 3 runs, which are called DRS amplitude calibration:
-# A pedestal run with ROI=1024
-# A gain calibration run with ROI=1024
-# and a second pedestal run, with the same ROI as our next data will be, i.e. ROI=300 in this case
-> taking DRS:Pedestal 1000 ...
-> OPERATOR: observe Events tab and make sure there are no patches with strange behaviour, which can be caused by DRS-CHIP Problems
-FAD_CONTROL/START_DRS_CALIBRATION
-###FAD_CONTROL/SET_FILE_FORMAT 0
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking DRS:Gain 1000 ...
-MCP/START -1 1000 drs-gain
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-> taking Pedestal 1000 ...
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# okay this is the DRS calibration for the next few runs.
-# we are now asked to take again a pedestal run, which can be used, to
-# calculate the electronics noise for instance ... since the shutter is closed and the
-# voltage is off .. there should not be alot of signal in it :-)
-> taking crosscheck Pedestal 1000 ...
-FAD_CONTROL/SET_FILE_FORMAT 2
-###FAD_CONTROL/SET_FILE_FORMAT 0
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# now we want to take a run, with dark counts events
-# so we need to ramp up the voltage
-# we want to use the 'current control' more so we give the commands for this...
-> switching on current controll feedback ...
-FEEDBACK/STOP
-FEEDBACK/START_CURRENT_CONTROL 0.0
-FEEDBACK/ENABLE_OUTPUT yes
-# the feedback should be in state 'CurrentControl'(12) now
-.s FEEDBACK 12
-> ... done
-> switching on bias
-# now we give the feedback a hint, that it may ramp ...
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-# after this command the bias_ctrl should be in state 'VoltageOn'(9) after a second or so
-.s BIAS_CONTROL 9
-> ...1 DAC globally set
-# then usually it takes some time until the feedback has enough information to really start controlling the voltage
-# when the feedback actually kicks in, the bias is first in state 'Ramping'(5) for some seconds and finally in 'VoltageOn'(9)
-# again
-.s BIAS_CONTROL 5
-> ...ramping to nominal voltage
-.s BIAS_CONTROL 9
-> ...bias on
-# here we should wait 45 sec in order for the current control to get enough current readings and temp readings to stabilize..
-> waiting 45sec for the current control to stabilize...
-.w 45000
-> ... done
-
-# so now we can take the dark count run ...
-# this might be changed in the future ... either the number of events or the the ROI might be changed
-# then the DRS calibration above, and the pedestal run in between have to be changed as well.
-> taking Pedestal with BIAS on 3000 ...
-MCP/START -1 3000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-# at the end the bias voltage should be ramped down, since in a few seconds a shifter wit ha flashlight
-# will come out to open the shutter...
-> switching OFF bias ...
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-> ...done
->
-> This is the end of First DRS Calibration
-> ----------------------------------------------------
->
Index: trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib.dim	(revision 13720)
@@ -0,0 +1,163 @@
+#!dimctrl --exec
+
+>
+> -------------------------------------------
+> First DRS Calibration Script starting up...
+> -------------------------------------------
+
+.w 2000
+# As a First step we want to calibrate the current, which are read from the bias crate,
+# and not take a DRS calibration, as it is mentioned in the data taking page...
+# so for this we should get the feedback and biasctrl programs into known states
+# I think it is good to try a RECONNECT to the bias, and make sure the voltage is off
+# Since we do not know, what the feedback program is doing at the moment, we should as well,
+# tell it to keep its mouth shut ... just to be sure, we know whats going on
+> stopping feedback
+FEEDBACK/STOP
+.w 2000
+# stopping should always be possible, and end in state 'Connected'(6)
+.s FEEDBACK 6
+> ..done
+
+#BIAS_CONTROL/RECONNECT
+# If we were disconnected, and this was the first try of the night, the bias_ctrl should
+# be in state 'VoltageOff'(7) more or less immediately
+#.s BIAS_CONTROL 3
+#.s BIAS_CONTROL 7 5000
+# if these assumptions are all wrong, then we might have been properly connected anyway,
+# and just have to ramp down... lets do it, but wait forever, in case it does not work
+> switching off bias
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.w 2000
+.s BIAS_CONTROL 7
+> ...done
+
+# in case we reach this line, the voltages are all off, and the feedback does not do anything
+# So lets do the current calibration, therefor we tell the bias crate to ramp up just 1 single DAC count(~22mV)
+# the result of this action is, to get bias_ctrl into the state 'VoltageOn'(9), but since we only go one DAC count it shouldn't take long
+> setting bias globally to 1 DAC
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+.w 2000
+.s BIAS_CONTROL 9
+> ...done
+
+# now we may tell the feedback program to calibrate the currents ...
+# I do not understand, if I have to explicitely allow the feedback program to generate output,
+# or if it just produces output...
+# As far as I understand, the feedback output enable status is the same,
+# as it was before I send the STOP command... so it is unknown at this point.
+# and in addition enabling or disabling the output, when STOPed is not possible as far as I know...
+# I try to enable it anyway.
+> enabling output for feedback
+FEEDBACK/ENABLE_OUTPUT yes
+.w 2000
+> ...done
+
+> calibrating bias crate current readings...
+FEEDBACK/CALIBRATE_CURRENTS
+.w 5000
+# in order to find out when the calibration ends, we have to wait for the transistion from state
+# 'Calibrating'(13) back to 'Connected'(6)
+.s FEEDBACK 13
+.s FEEDBACK 6
+
+# Thomas Bretz told me, that the feedback, after this is step has disabled its output
+# and is in the mode, we might call 'temperature control' even there is no temerature beeing controlled.
+# I don't know where the voltage is ... in order to perform the calibration, the feedback had to
+# ramp up to 2V below the operational voltage, i.e. about 1V below the breakdown voltage
+
+# We want to take a DRS amplitude calibration so we have to ramp down the bias voltage.
+# this 10sec wait is needed in order for the bias not to disconect all the time...
+> ... current calibration done
+.w 10000
+
+> switching off bias
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.w 5000
+.s BIAS_CONTROL 7
+> ...done
+
+# So now we can take the 3 runs, which are called DRS amplitude calibration:
+# A pedestal run with ROI=1024
+# A gain calibration run with ROI=1024
+# and a second pedestal run, with the same ROI as our next data will be, i.e. ROI=300 in this case
+> taking DRS:Pedestal 1000 ...
+> OPERATOR: observe Events tab and make sure there are no patches with strange behaviour, which can be caused by DRS-CHIP Problems
+FAD_CONTROL/START_DRS_CALIBRATION
+###FAD_CONTROL/SET_FILE_FORMAT 0
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking DRS:Gain 1000 ...
+MCP/START -1 1000 drs-gain
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+> taking Pedestal 1000 ...
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+# okay this is the DRS calibration for the next few runs.
+# we are now asked to take again a pedestal run, which can be used, to
+# calculate the electronics noise for instance ... since the shutter is closed and the
+# voltage is off .. there should not be alot of signal in it :-)
+> taking crosscheck Pedestal 1000 ...
+FAD_CONTROL/SET_FILE_FORMAT 2
+###FAD_CONTROL/SET_FILE_FORMAT 0
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+# now we want to take a run, with dark counts events
+# so we need to ramp up the voltage
+# we want to use the 'current control' more so we give the commands for this...
+> switching on current controll feedback ...
+FEEDBACK/STOP
+FEEDBACK/START_CURRENT_CONTROL 0.0
+FEEDBACK/ENABLE_OUTPUT yes
+# the feedback should be in state 'CurrentControl'(12) now
+.s FEEDBACK 12
+> ... done
+> switching on bias
+# now we give the feedback a hint, that it may ramp ...
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+# after this command the bias_ctrl should be in state 'VoltageOn'(9) after a second or so
+.s BIAS_CONTROL 9
+> ...1 DAC globally set
+# then usually it takes some time until the feedback has enough information to really start controlling the voltage
+# when the feedback actually kicks in, the bias is first in state 'Ramping'(5) for some seconds and finally in 'VoltageOn'(9)
+# again
+.s BIAS_CONTROL 5
+> ...ramping to nominal voltage
+.s BIAS_CONTROL 9
+> ...bias on
+# here we should wait 45 sec in order for the current control to get enough current readings and temp readings to stabilize..
+> waiting 45sec for the current control to stabilize...
+.w 45000
+> ... done
+
+# so now we can take the dark count run ...
+# this might be changed in the future ... either the number of events or the the ROI might be changed
+# then the DRS calibration above, and the pedestal run in between have to be changed as well.
+> taking Pedestal with BIAS on 3000 ...
+MCP/START -1 3000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+> ... done
+
+# at the end the bias voltage should be ramped down, since in a few seconds a shifter wit ha flashlight
+# will come out to open the shutter...
+> switching OFF bias ...
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+> ...done
+>
+> This is the end of First DRS Calibration
+> ----------------------------------------------------
+>
Index: trunk/FACT++/ScriptsForDimCtrl/RampingBias
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/RampingBias	(revision 13719)
+++ 	(revision )
@@ -1,25 +1,0 @@
-# Ramping bias up and down
-# this is just a test, to check the order of states of biasctrl while ramping.
-FEEDBACK/ENABLE_OUTPUT 1
-FAD_CONTROL/SET_FILE_FORMAT 0
-.s BIAS_CONTROL 7
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 500
-FAD_CONTROL/SET_FILE_FORMAT 0
-# Bias ist Off  .. switching it on
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-.s BIAS_CONTROL 9
-.s BIAS_CONTROL 5
-.s BIAS_CONTROL 9
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 500
-FAD_CONTROL/SET_FILE_FORMAT 0
-.w 2000
-# Bias ist On .. switching it off
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-FAD_CONTROL/SET_FILE_FORMAT 2
-.w 500
-FAD_CONTROL/SET_FILE_FORMAT 0
-# Bias ist Off again . stopping this script.
-
Index: trunk/FACT++/ScriptsForDimCtrl/RampingBias.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/RampingBias.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/RampingBias.dim	(revision 13720)
@@ -0,0 +1,27 @@
+#!dimctrl --exec
+
+# Ramping bias up and down
+# this is just a test, to check the order of states of biasctrl while ramping.
+FEEDBACK/ENABLE_OUTPUT 1
+FAD_CONTROL/SET_FILE_FORMAT 0
+.s BIAS_CONTROL 7
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 500
+FAD_CONTROL/SET_FILE_FORMAT 0
+# Bias ist Off  .. switching it on
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+.s BIAS_CONTROL 9
+.s BIAS_CONTROL 5
+.s BIAS_CONTROL 9
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 500
+FAD_CONTROL/SET_FILE_FORMAT 0
+.w 2000
+# Bias ist On .. switching it off
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+FAD_CONTROL/SET_FILE_FORMAT 2
+.w 500
+FAD_CONTROL/SET_FILE_FORMAT 0
+# Bias ist Off again . stopping this script.
+
Index: trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking	(revision 13719)
+++ 	(revision )
@@ -1,47 +1,0 @@
-# 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
-> taking Data:FullTriggerArea 5min Run 1 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 2 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> taking Data:FullTriggerArea 5min Run 3 ...
-MCP/START 300 -1 data
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-> ... done
-
-.x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-> 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
-> ----------------------------------------------------
-
Index: trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking.dim	(revision 13720)
@@ -0,0 +1,49 @@
+#!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
+> ----------------------------------------------------
+
Index: trunk/FACT++/ScriptsForDimCtrl/SpecialTimeCalibRuns
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/SpecialTimeCalibRuns	(revision 13719)
+++ 	(revision )
@@ -1,71 +1,0 @@
-# Move Telescope to Wobble Position 1
-.! echo `date -u`  "Data Taking script for Special Time Calibration Runs starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
-FEEDBACK/ENABLE_OUTPUT 1
-
-# Making sure bias is off
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-FTM_CONTROL/STOP_TRIGGER
-.w 500
-FAD_CONTROL/CLOSE_OPEN_FILES
-FAD_CONTROL/ENABLE_DRS 0
-.w 1500
-MCP/START -1 500 drs-time-upshifted
-.! echo `date -u`  "taking time cal 2GHz + 0ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-FTM_CONTROL/STOP_TRIGGER
-.w 500
-FAD_CONTROL/CLOSE_OPEN_FILES
-FAD_CONTROL/ENABLE_DRS 0
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-MCP/START -1 500 drs-time-delay0.5
-.! echo `date -u`  "taking time cal 2GHz + 550ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-FTM_CONTROL/STOP_TRIGGER
-.w 500
-FAD_CONTROL/CLOSE_OPEN_FILES
-FAD_CONTROL/ENABLE_DRS 0
-.w 1500
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-MCP/START -1 500 drs-time-delay1.0
-.! echo `date -u`  "taking time cal 2GHz + 1000ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-FTM_CONTROL/STOP_TRIGGER
-.w 500
-FAD_CONTROL/CLOSE_OPEN_FILES
-FAD_CONTROL/ENABLE_DRS 0
-.w 1500
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-MCP/START -1 500 drs-time-delay1.5
-.! echo `date -u`  "taking time cal 2GHz + 1450ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-FTM_CONTROL/STOP_TRIGGER
-.w 500
-FAD_CONTROL/CLOSE_OPEN_FILES
-FAD_CONTROL/ENABLE_DRS 0
-.w 1500
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-MCP/START -1 500 drs-time-delay2.0
-.! echo `date -u`  "taking time cal 2GHz + 2050ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-FTM_CONTROL/STOP_TRIGGER
-.w 500
-FAD_CONTROL/CLOSE_OPEN_FILES
-FAD_CONTROL/ENABLE_DRS 0
-.w 1500
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "This is the end of Data Taking of Crab Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
Index: trunk/FACT++/ScriptsForDimCtrl/SpecialTimeCalibRuns.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/SpecialTimeCalibRuns.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/SpecialTimeCalibRuns.dim	(revision 13720)
@@ -0,0 +1,73 @@
+#!dimctrl --exec
+
+# Move Telescope to Wobble Position 1
+.! echo `date -u`  "Data Taking script for Special Time Calibration Runs starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo
+FEEDBACK/ENABLE_OUTPUT 1
+
+# Making sure bias is off
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+FTM_CONTROL/STOP_TRIGGER
+.w 500
+FAD_CONTROL/CLOSE_OPEN_FILES
+FAD_CONTROL/ENABLE_DRS 0
+.w 1500
+MCP/START -1 500 drs-time-upshifted
+.! echo `date -u`  "taking time cal 2GHz + 0ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+FTM_CONTROL/STOP_TRIGGER
+.w 500
+FAD_CONTROL/CLOSE_OPEN_FILES
+FAD_CONTROL/ENABLE_DRS 0
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+MCP/START -1 500 drs-time-delay0.5
+.! echo `date -u`  "taking time cal 2GHz + 550ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+FTM_CONTROL/STOP_TRIGGER
+.w 500
+FAD_CONTROL/CLOSE_OPEN_FILES
+FAD_CONTROL/ENABLE_DRS 0
+.w 1500
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+MCP/START -1 500 drs-time-delay1.0
+.! echo `date -u`  "taking time cal 2GHz + 1000ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+FTM_CONTROL/STOP_TRIGGER
+.w 500
+FAD_CONTROL/CLOSE_OPEN_FILES
+FAD_CONTROL/ENABLE_DRS 0
+.w 1500
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+MCP/START -1 500 drs-time-delay1.5
+.! echo `date -u`  "taking time cal 2GHz + 1450ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+FTM_CONTROL/STOP_TRIGGER
+.w 500
+FAD_CONTROL/CLOSE_OPEN_FILES
+FAD_CONTROL/ENABLE_DRS 0
+.w 1500
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+MCP/START -1 500 drs-time-delay2.0
+.! echo `date -u`  "taking time cal 2GHz + 2050ps || 500evts..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+FTM_CONTROL/STOP_TRIGGER
+.w 500
+FAD_CONTROL/CLOSE_OPEN_FILES
+FAD_CONTROL/ENABLE_DRS 0
+.w 1500
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u` "This is the end of Data Taking of Crab Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
Index: trunk/FACT++/ScriptsForDimCtrl/TakeCrab
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/TakeCrab	(revision 13719)
+++ 	(revision )
@@ -1,38 +1,0 @@
-# Data taking and tracking script for Crab
->
-> ----------------------------------------------------
-> Data taking and tracking script for Crab
-> starting up...
-> ----------------------------------------------------
-
-# changing tracking to Crab Wobble 1
-.x ScriptsForDimCtrl/ServiceScripts/TrackCrabWobble1
-
-# Wait for drivectrl to reply that its tracking the given source
-.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking
-
-# starting data taking of Crab Wobble 1
-.x ScriptsForDimCtrl/DataTaking1
-
-# Stop tracking
-.x ScriptsForDimCtrl/ServiceScripts/StopTracking
-
-# changing tracking to Crab Wobble 2
-
-.x ScriptsForDimCtrl/ServiceScripts/TrackCrabWobble2
-
-# Wait for drivectrl to reply that its tracking the given source
-.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking
-
-# data taking to Crab Wobble 2
-.x ScriptsForDimCtrl/DataTaking2
-
-# Stop tracking
-.x ScriptsForDimCtrl/ServiceScripts/StopTracking
-
-> ----------------------------------------------------
-> Data taking and tracking script for Crab
-> finnished
-> ----------------------------------------------------
->
-
Index: trunk/FACT++/ScriptsForDimCtrl/TakeCrab.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/TakeCrab.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/TakeCrab.dim	(revision 13720)
@@ -0,0 +1,40 @@
+#!dimctrl --exec
+
+# Data taking and tracking script for Crab
+>
+> ----------------------------------------------------
+> Data taking and tracking script for Crab
+> starting up...
+> ----------------------------------------------------
+
+# changing tracking to Crab Wobble 1
+.x ScriptsForDimCtrl/ServiceScripts/TrackCrabWobble1.dim
+
+# Wait for drivectrl to reply that its tracking the given source
+.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking.dim
+
+# starting data taking of Crab Wobble 1
+.x ScriptsForDimCtrl/DataTaking1.dim
+
+# Stop tracking
+.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
+
+# changing tracking to Crab Wobble 2
+
+.x ScriptsForDimCtrl/ServiceScripts/TrackCrabWobble2.dim
+
+# Wait for drivectrl to reply that its tracking the given source
+.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking.dim
+
+# data taking to Crab Wobble 2
+.x ScriptsForDimCtrl/DataTaking2.dim
+
+# Stop tracking
+.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
+
+> ----------------------------------------------------
+> Data taking and tracking script for Crab
+> finnished
+> ----------------------------------------------------
+>
+
Index: trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/TakeMrk421	(revision 13719)
+++ 	(revision )
@@ -1,37 +1,0 @@
-# Data taking and tracking script for Mrk 421
->
-> ----------------------------------------------------
-> Data taking and tracking script for Mrk 421
-> starting up...
-> ----------------------------------------------------
-
-# changing tracking to Mrk 421 Wobble 1
-.x ScriptsForDimCtrl/ServiceScripts/TrackMrk421Wobble1
-
-# Wait for drivectrl to reply that its tracking the given source
-.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking
-
-# starting data taking of Mrk 421 Wobble 1
-.x ScriptsForDimCtrl/DataTaking1
-
-# Stop tracking
-.x ScriptsForDimCtrl/ServiceScripts/StopTracking
-
-# changing tracking to Mrk 421 Wobble 2
-.x ScriptsForDimCtrl/ServiceScripts/TrackMrk421Wobble2
-
-# Wait for drivectrl to reply that its tracking the given source
-.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking
-
-# data taking to Mrk 421 Wobble 2
-.x ScriptsForDimCtrl/DataTaking2
-
-# Stop tracking
-.x ScriptsForDimCtrl/ServiceScripts/StopTracking
-
-> ----------------------------------------------------
-> Data taking and tracking script for Mrk 421
-> finnished
-> ----------------------------------------------------
->
-
Index: trunk/FACT++/ScriptsForDimCtrl/TakeMrk421.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/TakeMrk421.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/TakeMrk421.dim	(revision 13720)
@@ -0,0 +1,39 @@
+#!dimctrl --exec
+
+# Data taking and tracking script for Mrk 421
+>
+> ----------------------------------------------------
+> Data taking and tracking script for Mrk 421
+> starting up...
+> ----------------------------------------------------
+
+# changing tracking to Mrk 421 Wobble 1
+.x ScriptsForDimCtrl/ServiceScripts/TrackMrk421Wobble1.dim
+
+# Wait for drivectrl to reply that its tracking the given source
+.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking.dim
+
+# starting data taking of Mrk 421 Wobble 1
+.x ScriptsForDimCtrl/DataTaking1.dim
+
+# Stop tracking
+.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
+
+# changing tracking to Mrk 421 Wobble 2
+.x ScriptsForDimCtrl/ServiceScripts/TrackMrk421Wobble2.dim
+
+# Wait for drivectrl to reply that its tracking the given source
+.x ScriptsForDimCtrl/ServiceScripts/WaitForTracking.dim
+
+# data taking to Mrk 421 Wobble 2
+.x ScriptsForDimCtrl/DataTaking2.dim
+
+# Stop tracking
+.x ScriptsForDimCtrl/ServiceScripts/StopTracking.dim
+
+> ----------------------------------------------------
+> Data taking and tracking script for Mrk 421
+> finnished
+> ----------------------------------------------------
+>
+
Index: trunk/FACT++/ScriptsForDimCtrl/drs_ampl_calib
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/drs_ampl_calib	(revision 13719)
+++ 	(revision )
@@ -1,32 +1,0 @@
-# DIMSCRIPT  -- drs_calib  --- this is the first part of former DataTaking1 .. the part which was different from DataTaking2
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "drs_calib -- starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-FEEDBACK/ENABLE_OUTPUT no
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-FAD_CONTROL/START_DRS_CALIBRATION
-.! echo `date -u`  "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u`  "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u`  "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 drs-gain
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u`  "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 drs-pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "this is the end of drs_ampl_calib" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
Index: trunk/FACT++/ScriptsForDimCtrl/drs_ampl_calib.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/drs_ampl_calib.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/drs_ampl_calib.dim	(revision 13720)
@@ -0,0 +1,34 @@
+#!dimctrl --exec
+
+# DIMSCRIPT  -- drs_calib  --- this is the first part of former DataTaking1 .. the part which was different from DataTaking2
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "drs_calib -- starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+FEEDBACK/ENABLE_OUTPUT no
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+FAD_CONTROL/START_DRS_CALIBRATION
+.! echo `date -u`  "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u`  "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u`  "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 drs-gain
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u`  "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 drs-pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "this is the end of drs_ampl_calib" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
Index: trunk/FACT++/ScriptsForDimCtrl/fb_data
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/fb_data	(revision 13719)
+++ 	(revision )
@@ -1,28 +1,0 @@
-# DIMSCRIPT 
-.! echo `date -u`  "take 4x data run with feedback ON " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
-
-FEEDBACK/ENABLE_OUTPUT yes
-FAD_CONTROL/SET_FILE_FORMAT 2
-
-MCP/START 300 -1 data
-.! echo `date -u`  "taking 1/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-
-MCP/START 300 -1 data
-.! echo `date -u`  "taking 2/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-
-MCP/START 300 -1 data
-.! echo `date -u`  "taking 3/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-
-MCP/START 300 -1 data
-.! echo `date -u`  "taking 4/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u`  " ... done ... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
Index: trunk/FACT++/ScriptsForDimCtrl/fb_data.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/fb_data.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/fb_data.dim	(revision 13720)
@@ -0,0 +1,30 @@
+#!dimctrl --exec
+
+# DIMSCRIPT
+.! echo `date -u`  "take 4x data run with feedback ON " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo
+
+FEEDBACK/ENABLE_OUTPUT yes
+FAD_CONTROL/SET_FILE_FORMAT 2
+
+MCP/START 300 -1 data
+.! echo `date -u`  "taking 1/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+
+MCP/START 300 -1 data
+.! echo `date -u`  "taking 2/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+
+MCP/START 300 -1 data
+.! echo `date -u`  "taking 3/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+
+MCP/START 300 -1 data
+.! echo `date -u`  "taking 4/4 data runs ... feedback on ...." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u`  " ... done ... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
Index: trunk/FACT++/ScriptsForDimCtrl/fb_on
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/fb_on	(revision 13719)
+++ 	(revision )
@@ -1,33 +1,0 @@
-# DIMSCRIPT 
-.! echo `date -u`  "switch on bias feedback - REF 100 " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
-FEEDBACK/STOP
-.s FEEDBACK 6
-.w 500
-BIAS_CONTROL/SET_ZERO_VOLTAGE
-.s BIAS_CONTROL 7
-.w 10000
-BIAS_CONTROL/SET_GLOBAL_DAC 1
-.s BIAS_CONTROL 9
-FEEDBACK/START_CURRENT_CONTROL 0.0
-.w 500
-FEEDBACK/ENABLE_OUTPUT yes
-
-#bad coding here
-.! echo `date -u`  "Waiting for 90 sec ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.w 90000
-.s BIAS_CONTROL 9
-FEEDBACK/STOP
-FEEDBACK/START_GLOBAL_FEEDBACK 25
-FEEDBACK/SET_REFERENCE 100
-
-FAD_CONTROL/SET_FILE_FORMAT 0
-.! echo `date -u`  "Starting Ext. Lightpulser run for 100 Events!!!!!" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 500 light-pulser-ext
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-
-.! echo `date -u`  "@SHIFTER: please set BY HAND the FEEDBACK REFERENCE to the desired voltage setpoint" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "@SHIFTER: .... do: FEEDBACK/SET_REFERENCE <voltage in mV>" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-
Index: trunk/FACT++/ScriptsForDimCtrl/fb_on.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/fb_on.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/fb_on.dim	(revision 13720)
@@ -0,0 +1,35 @@
+#!dimctrl --exec
+
+# DIMSCRIPT
+.! echo `date -u`  "switch on bias feedback - REF 100 " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo
+FEEDBACK/STOP
+.s FEEDBACK 6
+.w 500
+BIAS_CONTROL/SET_ZERO_VOLTAGE
+.s BIAS_CONTROL 7
+.w 10000
+BIAS_CONTROL/SET_GLOBAL_DAC 1
+.s BIAS_CONTROL 9
+FEEDBACK/START_CURRENT_CONTROL 0.0
+.w 500
+FEEDBACK/ENABLE_OUTPUT yes
+
+#bad coding here
+.! echo `date -u`  "Waiting for 90 sec ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.w 90000
+.s BIAS_CONTROL 9
+FEEDBACK/STOP
+FEEDBACK/START_GLOBAL_FEEDBACK 25
+FEEDBACK/SET_REFERENCE 100
+
+FAD_CONTROL/SET_FILE_FORMAT 0
+.! echo `date -u`  "Starting Ext. Lightpulser run for 100 Events!!!!!" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 500 light-pulser-ext
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+
+.! echo `date -u`  "@SHIFTER: please set BY HAND the FEEDBACK REFERENCE to the desired voltage setpoint" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "@SHIFTER: .... do: FEEDBACK/SET_REFERENCE <voltage in mV>" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+
Index: trunk/FACT++/ScriptsForDimCtrl/fb_ped_n_lp
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/fb_ped_n_lp	(revision 13719)
+++ 	(revision )
@@ -1,27 +1,0 @@
-# DIMSCRIPT 
-.! echo `date -u`  "take ped and LPext" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
-
-.! echo `date -u`  "take 100 LP events for the beedback to stabilize " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-FEEDBACK/ENABLE_OUTPUT yes
-FAD_CONTROL/SET_FILE_FORMAT 0
-FEEDBACK/SET_Ki 0.8
-MCP/START -1 500 light-pulser-ext
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-
-FEEBACK/SET_Ki 0.55
-FEEDBACK/ENABLE_OUTPUT no
-FAD_CONTROL/SET_FILE_FORMAT 2
-.! echo `date -u`  "take PED " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 pedestal
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-.! echo `date -u`  "take LPext " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-MCP/START -1 1000 light-pulser-ext
-.s FAD_CONTROL 8
-.s FAD_CONTROL 4
-
-FEEDBACK/ENABLE_OUTPUT yes
-.! echo `date -u`  " .. done .. " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
Index: trunk/FACT++/ScriptsForDimCtrl/fb_ped_n_lp.dim
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/fb_ped_n_lp.dim	(revision 13720)
+++ trunk/FACT++/ScriptsForDimCtrl/fb_ped_n_lp.dim	(revision 13720)
@@ -0,0 +1,29 @@
+#!dimctrl --exec
+
+# DIMSCRIPT
+.! echo `date -u`  "take ped and LPext" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+.! echo
+
+.! echo `date -u`  "take 100 LP events for the beedback to stabilize " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+FEEDBACK/ENABLE_OUTPUT yes
+FAD_CONTROL/SET_FILE_FORMAT 0
+FEEDBACK/SET_Ki 0.8
+MCP/START -1 500 light-pulser-ext
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+
+FEEBACK/SET_Ki 0.55
+FEEDBACK/ENABLE_OUTPUT no
+FAD_CONTROL/SET_FILE_FORMAT 2
+.! echo `date -u`  "take PED " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 pedestal
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+.! echo `date -u`  "take LPext " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+MCP/START -1 1000 light-pulser-ext
+.s FAD_CONTROL 8
+.s FAD_CONTROL 4
+
+FEEDBACK/ENABLE_OUTPUT yes
+.! echo `date -u`  " .. done .. " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
