Index: trunk/FACT++/ScriptsForDimCtrl/DataTaking1
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/DataTaking1	(revision 13348)
+++ trunk/FACT++/ScriptsForDimCtrl/DataTaking1	(revision 13349)
@@ -1,9 +1,10 @@
 # Move Telescope to Wobble Position 1
-.! echo `date -u`  "data taking script for Wobble 1 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
-.! echo `date -u`  "Operator: make sure that telescope is tracking wobble position 1 of source" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "... This script will wait 10sec for you" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.w 10000
+> 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
 
@@ -12,113 +13,121 @@
 .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
+> 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
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking DRS:Gain 1000 ...
 MCP/START -1 1000 drs-gain
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking DRS:Pedestal 1000 ...
 MCP/START -1 1000 drs-pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking crosscheck DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> 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
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking DRS:Time 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking DRS:Time 1000 ...
 MCP/START -1 1000 drs-time
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking DRS:Time upshifted 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking DRS:Time upshifted 1000 ...
 MCP/START -1 1000 drs-time-upshifted
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking Pedestal 1000 for secondary baseline..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> 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
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u`  "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking crosscheck Pedestal 1000 ...
 FAD_CONTROL/SET_FILE_FORMAT 2
 MCP/START -1 1000 pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
+> Operator: Measure Sky Brightness
 
-.! echo `date -u`  "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> switching on bias ...
 BIAS_CONTROL/SET_GLOBAL_DAC 1
 .s BIAS_CONTROL 9
 .s BIAS_CONTROL 5
 .s BIAS_CONTROL 9
+
 # here one should wait 30..45sec according to TB
-.! echo `date -u`  "bias is on, and feedback-program is working, but we wait 45sec for the current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> bias is on, and feedback-program is working, but we wait 45sec for the current readings...
 .w 45000
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Pedestal with BIAS on 1000 ...
 MCP/START -1 1000 pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking External Light Pulser with BIAS on 1000 ...
 MCP/START -1 1000 light-pulser-ext
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
 #Data Taking with Full Trigger Area (4x5min)
+
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 1 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 2 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 3 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 4 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "This is the end of data taking of Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ----------------------------------------------------
+> This is the end of data taking of Wobble 1
 
Index: trunk/FACT++/ScriptsForDimCtrl/DataTaking2
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/DataTaking2	(revision 13348)
+++ trunk/FACT++/ScriptsForDimCtrl/DataTaking2	(revision 13349)
@@ -1,54 +1,61 @@
 # Move Telescope to Wobble Position 2
-.! echo `date -u` "data taking script for Wobble 2 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
-.! echo `date -u`  "Operator: make sure that telescope is tracking wobble position 2 of source" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> 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
-.! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Pedestal with BIAS on 1000 ...
 .s FAD_CONTROL 4
 MCP/START -1 1000 pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking External Light Pulser with BIAS on 1000 ...
 MCP/START -1 1000 light-pulser-ext
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
 #Data Taking with Full Trigger Area (4x5min)
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 1 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 2 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 3 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
+# check if all subsystems are in the correct state
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 4 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "This is the end of data taking of Wobble 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ----------------------------------------------------
+> This is the end of data taking of Wobble 2
Index: trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib	(revision 13348)
+++ trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib	(revision 13349)
@@ -1,7 +1,7 @@
 # dimctrl script
-.! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+>
+> -------------------------------------------
+> First DRS Calibration Script starting up...
+> -------------------------------------------
 
 .w 2000
@@ -10,10 +10,12 @@
 # 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, 
+# 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
@@ -22,28 +24,34 @@
 #.s BIAS_CONTROL 3
 #.s BIAS_CONTROL 7 5000
-# if these assumptions are all wrong, then we might have been properly connected anyway, 
+# 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 ... 
+# 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 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... 
+# 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
 
-.! echo `date -u` "calibrating bias crate current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 
+> calibrating bias crate current readings...
 FEEDBACK/CALIBRATE_CURRENTS
 .w 5000
@@ -55,15 +63,17 @@
 # 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 
+# 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...
-.! echo `date -u` "current calibration done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 
+> ... 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:
@@ -71,29 +81,29 @@
 # 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
-.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking DRS:Pedestal 1000 ...
 FAD_CONTROL/START_DRS_CALIBRATION
-###FAD_CONTROL/SET_FILE_FORMAT 0  
+###FAD_CONTROL/SET_FILE_FORMAT 0
 MCP/START -1 1000 drs-pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking DRS:Gain 1000 ...
 MCP/START -1 1000 drs-gain
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u` "taking Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Pedestal 1000 ...
 MCP/START -1 1000 pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... 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 
+# 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 :-)
-.! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking crosscheck Pedestal 1000 ...
 FAD_CONTROL/SET_FILE_FORMAT 2
 ###FAD_CONTROL/SET_FILE_FORMAT 0
@@ -101,10 +111,10 @@
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-# now we want to take a run, with dark counts events 
+# 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...
-.! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> switching on current controll feedback ...
 FEEDBACK/STOP
 FEEDBACK/START_CURRENT_CONTROL 0.0
@@ -112,36 +122,40 @@
 # the feedback should be in state 'CurrentControl'(12) now
 .s FEEDBACK 12
-
-# now we give the feedback a hint, that it may ramp ... 
+> ... 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..
-.! echo `date -u` "...waiting 45sec for the current control..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> waiting 45sec for the current control to stabilize...
 .w 45000
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-# so now we can take the dark count run ... 
+# 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.
-.! echo `date -u` "taking Pedestal with BIAS on 3000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Pedestal with BIAS on 3000 ...
 MCP/START -1 3000 pedestal
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... 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...
-.! echo `date -u` "switching OFF bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> switching OFF bias ...
 BIAS_CONTROL/SET_ZERO_VOLTAGE
 .s BIAS_CONTROL 7
-
-.! echo `date -u` "This is the end of First DRS Calibration" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...done
+>
+> This is the end of First DRS Calibration
+> ----------------------------------------------------
+>
Index: trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking	(revision 13348)
+++ trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking	(revision 13349)
@@ -1,7 +1,7 @@
 # DIM_CONTROL: resume data taking after it had to be aborted during first run of four
-.! echo `date -u` "----------------------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "resume taking the 4 data runs after DataTaking was aborted..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "Operator: make sure bias is switched on and feedback is running!!!" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ----------------------------------------------------------------
+> 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
@@ -9,39 +9,39 @@
 .s FEEDBACK 12
 .s BIAS_CONTROL 9
-.! echo `date -u`  "bias is on, and feedback-program is working, but we wait 45sec for the current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> bias is on, and feedback-program is working, but we wait 45sec for the current readings...
 .w 45000
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
 #Data Taking with Full Trigger Area (4x5min)
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 1 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 2 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 3 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
-.! echo `date -u`  "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> taking Data:FullTriggerArea 5min Run 4 ...
 MCP/START 300 -1 data
 .s FAD_CONTROL 8
 .s FAD_CONTROL 4
-.! echo `date -u`  "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ... done
 
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "This is the end of data taking" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ----------------------------------------------------
+> This is the end of data taking
+> ----------------------------------------------------
 
Index: trunk/FACT++/ScriptsForDimCtrl/TakeCrab
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/TakeCrab	(revision 13348)
+++ trunk/FACT++/ScriptsForDimCtrl/TakeCrab	(revision 13349)
@@ -1,27 +1,27 @@
 # Data taking and tracking script for Crab starting up...
-.! echo
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "Data taking and tracking script for Crab starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+>
+> ----------------------------------------------------
+> Data taking and tracking script for Crab starting up...
+> ----------------------------------------------------
 
 # changing tracking to Crab Wobble 1
-.! echo `date -u`  "moving telescope to wobble position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> moving telescope to wobble position 1
+> ...waiting for drivectrl to be ready to move
 .s DRIVE_CONTROL 5
 .w 5000
 DRIVE_CONTROL/TRACK_SOURCE 0.6 50 Crab
-.! echo `date -u`  "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...sent tracking command
 
 # Wait for drivectrl to reply that its tracking the given source
 .s DRIVE_CONTROL 6
-.! echo `date -u`  "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...moving
 .s DRIVE_CONTROL 7
-.! echo `date -u`  "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting 30 sec for drive to calm downe" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
+> ...tracking above written wobble position
+> ...waiting 30 sec for drive to calm downe
+>
 .w 30000
 
 # starting data taking of Crab Wobble 1
-.! echo
+>
 .x ScriptsForDimCtrl/DataTaking1
 
@@ -30,28 +30,28 @@
 DRIVE_CONTROL/STOP
 .s DRIVE_CONTROL 5
-.! echo
-.! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
+>
+> ...stopped tracking of above wobble position
+> ----------------------------------------------------
+>
 
 # changing tracking to Crab Wobble 2
-.! echo
-.! echo `date -u`  "Moving telescope to wobble Position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+>
+> Moving telescope to wobble Position 2
+> ...waiting for drivectrl to be ready to move
 .s DRIVE_CONTROL 5
 .w 5000
 DRIVE_CONTROL/TRACK_SOURCE 0.6 -130 Crab
-.! echo `date -u`  "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...sent tracking command
 
 # Wait for drivectrl to reply that its tracking the given source
 .s DRIVE_CONTROL 6
-.! echo `date -u`  "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...moving
 .s DRIVE_CONTROL 7
-.! echo `date -u`  "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting 30 sec for drive to calm downe" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...tracking above written wobble position
+> ...waiting 30 sec for drive to calm downe
 .w 30000
 
 # data taking to Crab Wobble 2
-.! echo
+>
 .x ScriptsForDimCtrl/DataTaking2
 
@@ -60,8 +60,8 @@
 DRIVE_CONTROL/STOP
 .s DRIVE_CONTROL 5
-.! echo
-.! echo `date -u` "...stopped tracking of Crab at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
+>
+> ...stopped tracking of Crab at above wobble position
+> ----------------------------------------------------
+>
 # ...stopped tracking of Crab at above wobble position
 # ----------------------------------------------------
Index: trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
===================================================================
--- trunk/FACT++/ScriptsForDimCtrl/TakeMrk421	(revision 13348)
+++ trunk/FACT++/ScriptsForDimCtrl/TakeMrk421	(revision 13349)
@@ -1,28 +1,28 @@
 # Data taking and tracking script for Mrk 421 starting up...
-.! echo
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "Data taking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+>
+> ----------------------------------------------------
+> Data taking and tracking script for Mrk 421 starting up...
+> ----------------------------------------------------
 
 # changing tracking to "Mrk 421" Wobble 1
-.! echo `date -u`  "moving telescope to wobble position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> moving telescope to wobble position 1
+> ...waiting for drivectrl to be ready to move
 .s DRIVE_CONTROL 5
 .w 2000
 DRIVE_CONTROL/TRACK_SOURCE 0.6 90 "Mrk 421"
-.! echo `date -u`  "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...sent tracking command
 
 # Wait for drivectrl to reply that its tracking the given source
 .s DRIVE_CONTROL 6
-.! echo `date -u`  "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...moving
 .s DRIVE_CONTROL 7
-.! echo `date -u`  "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
+> ...tracking above written wobble position
+> ...waiting 30 sec for drive to calm down
+>
 
 .w 30000
 
 # starting data taking of "Mrk 421" Wobble 1
-.! echo
+>
 .x ScriptsForDimCtrl/DataTaking1
 
@@ -31,28 +31,28 @@
 DRIVE_CONTROL/STOP
 .s DRIVE_CONTROL 5
-.! echo
-.! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+>
+> ...stopped tracking of above wobble position
+> ----------------------------------------------------
 
 # changing tracking to "Mrk 421" Wobble 2
-.! echo
-.! echo `date -u`  "moving telescope to wobble position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+>
+> moving telescope to wobble position 2
+> ...waiting for drivectrl to be ready to move
 .s DRIVE_CONTROL 5
 .w 2000
 DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421"
-.! echo `date -u`  "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...sent tracking command
 
 # Wait for drivectrl to reply that its tracking the given source
 .s DRIVE_CONTROL 6
-.! echo `date -u`  "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
+> ...moving
 .s DRIVE_CONTROL 7
-.! echo `date -u`  "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u`  "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
+> ...tracking above written wobble position
+> ...waiting 30 sec for drive to calm down
+>
 .w 30000
 
 # data taking to "Mrk 421" Wobble 2
-.! echo
+>
 .x ScriptsForDimCtrl/DataTaking2
 
@@ -61,8 +61,8 @@
 DRIVE_CONTROL/STOP
 .s DRIVE_CONTROL 5
-.! echo
-.! echo `date -u` "...stopped tracking of Mrk421 at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
-.! echo
+>
+> ...stopped tracking of Mrk421 at above wobble position
+> ----------------------------------------------------
+>
 # ...stopped tracking of Mrk421 at above wobble position
 # ----------------------------------------------------
