Changeset 13349 for trunk/FACT++
- Timestamp:
- 04/16/12 14:29:41 (13 years ago)
- Location:
- trunk/FACT++/ScriptsForDimCtrl
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/ScriptsForDimCtrl/DataTaking1
r13278 r13349 1 1 # Move Telescope to Wobble Position 1 2 .! echo `date -u` "data taking script for Wobble 1 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo 5 .! echo `date -u` "Operator: make sure that telescope is tracking wobble position 1 of source" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 6 .! echo `date -u` "... This script will wait 10sec for you" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 7 .w 10000 2 > data taking script for Wobble 1 starting up... 3 > ---------------------------------------------------- 4 > 5 > Operator: make sure that telescope is tracking wobble position 1 of source 6 > 7 #> ... This script will wait 10sec for you 8 #.w 10000 8 9 FEEDBACK/ENABLE_OUTPUT 1 9 10 … … 12 13 .s BIAS_CONTROL 7 13 14 FAD_CONTROL/START_DRS_CALIBRATION 14 .! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 15 16 .! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 15 > bias voltage is switched off 16 > 17 > taking DRS:Pedestal 1000 ... 17 18 .s FAD_CONTROL 4 18 19 MCP/START -1 1000 drs-pedestal 19 20 .s FAD_CONTROL 8 20 21 .s FAD_CONTROL 4 21 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 22 > ... done 22 23 23 .! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 24 > taking DRS:Gain 1000 ... 24 25 MCP/START -1 1000 drs-gain 25 26 .s FAD_CONTROL 8 26 27 .s FAD_CONTROL 4 27 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 28 > ... done 28 29 29 .! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 30 > taking DRS:Pedestal 1000 ... 30 31 MCP/START -1 1000 drs-pedestal 31 32 .s FAD_CONTROL 8 32 33 .s FAD_CONTROL 4 33 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 34 > ... done 34 35 35 .! echo `date -u` "taking crosscheck DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 36 > taking crosscheck DRS:Pedestal 1000 ... 36 37 FAD_CONTROL/SET_FILE_FORMAT 2 37 38 MCP/START -1 1000 drs-pedestal 38 39 .s FAD_CONTROL 8 39 40 .s FAD_CONTROL 4 40 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 41 > ... done 41 42 42 .! echo `date -u` "taking DRS:Time 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 43 > taking DRS:Time 1000 ... 43 44 MCP/START -1 1000 drs-time 44 45 .s FAD_CONTROL 8 45 46 .s FAD_CONTROL 4 46 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 47 > ... done 47 48 48 .! echo `date -u` "taking DRS:Time upshifted 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 49 > taking DRS:Time upshifted 1000 ... 49 50 MCP/START -1 1000 drs-time-upshifted 50 51 .s FAD_CONTROL 8 51 52 .s FAD_CONTROL 4 52 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 53 > ... done 53 54 54 .! echo `date -u` "taking Pedestal 1000 for secondary baseline..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 55 > taking Pedestal 1000 for secondary baseline... 55 56 FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE 56 57 MCP/START -1 1000 pedestal 57 58 .s FAD_CONTROL 8 58 59 .s FAD_CONTROL 4 59 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 60 > ... done 60 61 61 .! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 62 > taking crosscheck Pedestal 1000 ... 62 63 FAD_CONTROL/SET_FILE_FORMAT 2 63 64 MCP/START -1 1000 pedestal 64 65 .s FAD_CONTROL 8 65 66 .s FAD_CONTROL 4 66 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 67 .! echo `date -u` "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 67 > ... done 68 > Operator: Measure Sky Brightness 68 69 69 .! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 70 > switching on bias ... 70 71 BIAS_CONTROL/SET_GLOBAL_DAC 1 71 72 .s BIAS_CONTROL 9 72 73 .s BIAS_CONTROL 5 73 74 .s BIAS_CONTROL 9 75 74 76 # here one should wait 30..45sec according to TB 75 .! echo `date -u` "bias is on, and feedback-program is working, but we wait 45sec for the current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 77 > bias is on, and feedback-program is working, but we wait 45sec for the current readings... 76 78 .w 45000 77 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 79 > ... done 78 80 81 # check if all subsystems are in the correct state 79 82 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 80 .! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 83 > taking Pedestal with BIAS on 1000 ... 81 84 MCP/START -1 1000 pedestal 82 85 .s FAD_CONTROL 8 83 86 .s FAD_CONTROL 4 84 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 87 > ... done 85 88 89 # check if all subsystems are in the correct state 86 90 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 87 .! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 91 > taking External Light Pulser with BIAS on 1000 ... 88 92 MCP/START -1 1000 light-pulser-ext 89 93 .s FAD_CONTROL 8 90 94 .s FAD_CONTROL 4 91 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 95 > ... done 92 96 93 97 #Data Taking with Full Trigger Area (4x5min) 98 99 # check if all subsystems are in the correct state 94 100 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 95 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 101 > taking Data:FullTriggerArea 5min Run 1 ... 96 102 MCP/START 300 -1 data 97 103 .s FAD_CONTROL 8 98 104 .s FAD_CONTROL 4 99 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 105 > ... done 100 106 107 # check if all subsystems are in the correct state 101 108 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 102 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 109 > taking Data:FullTriggerArea 5min Run 2 ... 103 110 MCP/START 300 -1 data 104 111 .s FAD_CONTROL 8 105 112 .s FAD_CONTROL 4 106 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 113 > ... done 107 114 115 # check if all subsystems are in the correct state 108 116 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 109 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 117 > taking Data:FullTriggerArea 5min Run 3 ... 110 118 MCP/START 300 -1 data 111 119 .s FAD_CONTROL 8 112 120 .s FAD_CONTROL 4 113 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 121 > ... done 114 122 123 # check if all subsystems are in the correct state 115 124 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 116 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 125 > taking Data:FullTriggerArea 5min Run 4 ... 117 126 MCP/START 300 -1 data 118 127 .s FAD_CONTROL 8 119 128 .s FAD_CONTROL 4 120 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 129 > ... done 121 130 122 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 123 .! echo `date -u` "This is the end of data taking of Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 131 > ---------------------------------------------------- 132 > This is the end of data taking of Wobble 1 124 133 -
trunk/FACT++/ScriptsForDimCtrl/DataTaking2
r13279 r13349 1 1 # Move Telescope to Wobble Position 2 2 .! echo `date -u` "data taking script for Wobble 2 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo 5 .! echo `date -u` "Operator: make sure that telescope is tracking wobble position 2 of source" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 6 .! echo `date -u` "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > data taking script for Wobble 2 starting up... 3 > ---------------------------------------------------- 4 > 5 > Operator: make sure that telescope is tracking wobble position 2 of source 6 > Operator: Measure Sky Brightness 7 > 7 8 9 # check if all subsystems are in the correct state 8 10 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 9 .! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 11 > taking Pedestal with BIAS on 1000 ... 10 12 .s FAD_CONTROL 4 11 13 MCP/START -1 1000 pedestal 12 14 .s FAD_CONTROL 8 13 15 .s FAD_CONTROL 4 14 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 16 > ... done 15 17 18 # check if all subsystems are in the correct state 16 19 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 17 .! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 20 > taking External Light Pulser with BIAS on 1000 ... 18 21 MCP/START -1 1000 light-pulser-ext 19 22 .s FAD_CONTROL 8 20 23 .s FAD_CONTROL 4 21 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 24 > ... done 22 25 23 26 #Data Taking with Full Trigger Area (4x5min) 24 27 28 # check if all subsystems are in the correct state 25 29 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 26 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 30 > taking Data:FullTriggerArea 5min Run 1 ... 27 31 MCP/START 300 -1 data 28 32 .s FAD_CONTROL 8 29 33 .s FAD_CONTROL 4 30 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 34 > ... done 31 35 36 # check if all subsystems are in the correct state 32 37 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 33 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 38 > taking Data:FullTriggerArea 5min Run 2 ... 34 39 MCP/START 300 -1 data 35 40 .s FAD_CONTROL 8 36 41 .s FAD_CONTROL 4 37 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 42 > ... done 38 43 44 # check if all subsystems are in the correct state 39 45 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 40 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 46 > taking Data:FullTriggerArea 5min Run 3 ... 41 47 MCP/START 300 -1 data 42 48 .s FAD_CONTROL 8 43 49 .s FAD_CONTROL 4 44 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 50 > ... done 45 51 52 # check if all subsystems are in the correct state 46 53 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 47 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 54 > taking Data:FullTriggerArea 5min Run 4 ... 48 55 MCP/START 300 -1 data 49 56 .s FAD_CONTROL 8 50 57 .s FAD_CONTROL 4 51 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 58 > ... done 52 59 53 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 54 .! echo `date -u` "This is the end of data taking of Wobble 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 60 > ---------------------------------------------------- 61 > This is the end of data taking of Wobble 2 -
trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib
r13112 r13349 1 1 # dimctrl script 2 .! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 3 .! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > 3 > ------------------------------------------- 4 > First DRS Calibration Script starting up... 5 > ------------------------------------------- 6 6 7 7 .w 2000 … … 10 10 # so for this we should get the feedback and biasctrl programs into known states 11 11 # I think it is good to try a RECONNECT to the bias, and make sure the voltage is off 12 # Since we do not know, what the feedback program is doing at the moment, we should as well, 12 # Since we do not know, what the feedback program is doing at the moment, we should as well, 13 13 # tell it to keep its mouth shut ... just to be sure, we know whats going on 14 > stopping feedback 14 15 FEEDBACK/STOP 15 16 .w 2000 16 17 # stopping should always be possible, and end in state 'Connected'(6) 17 18 .s FEEDBACK 6 19 > ..done 18 20 19 21 #BIAS_CONTROL/RECONNECT … … 22 24 #.s BIAS_CONTROL 3 23 25 #.s BIAS_CONTROL 7 5000 24 # if these assumptions are all wrong, then we might have been properly connected anyway, 26 # if these assumptions are all wrong, then we might have been properly connected anyway, 25 27 # and just have to ramp down... lets do it, but wait forever, in case it does not work 28 > switching off bias 26 29 BIAS_CONTROL/SET_ZERO_VOLTAGE 27 30 .w 2000 28 31 .s BIAS_CONTROL 7 32 > ...done 29 33 30 34 # in case we reach this line, the voltages are all off, and the feedback does not do anything 31 35 # So lets do the current calibration, therefor we tell the bias crate to ramp up just 1 single DAC count(~22mV) 32 36 # 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 37 > setting bias globally to 1 DAC 33 38 BIAS_CONTROL/SET_GLOBAL_DAC 1 34 39 .w 2000 35 40 .s BIAS_CONTROL 9 41 > ...done 36 42 37 # now we may tell the feedback program to calibrate the currents ... 43 # now we may tell the feedback program to calibrate the currents ... 38 44 # I do not understand, if I have to explicitely allow the feedback program to generate output, 39 45 # or if it just produces output... 40 # As far as I understand, the feedback output enable status is the same, 46 # As far as I understand, the feedback output enable status is the same, 41 47 # as it was before I send the STOP command... so it is unknown at this point. 42 # and in addition enabling or disabling the output, when STOPed is not possible as far as I know... 48 # and in addition enabling or disabling the output, when STOPed is not possible as far as I know... 43 49 # I try to enable it anyway. 50 > enabling output for feedback 44 51 FEEDBACK/ENABLE_OUTPUT yes 45 52 .w 2000 53 > ...done 46 54 47 .! echo `date -u` "calibrating bias crate current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 55 > calibrating bias crate current readings... 48 56 FEEDBACK/CALIBRATE_CURRENTS 49 57 .w 5000 … … 55 63 # Thomas Bretz told me, that the feedback, after this is step has disabled its output 56 64 # and is in the mode, we might call 'temperature control' even there is no temerature beeing controlled. 57 # I don't know where the voltage is ... in order to perform the calibration, the feedback had to 65 # I don't know where the voltage is ... in order to perform the calibration, the feedback had to 58 66 # ramp up to 2V below the operational voltage, i.e. about 1V below the breakdown voltage 59 67 60 68 # We want to take a DRS amplitude calibration so we have to ramp down the bias voltage. 61 69 # this 10sec wait is needed in order for the bias not to disconect all the time... 62 .! echo `date -u` "current calibration done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 70 > ... current calibration done 63 71 .w 10000 64 72 73 > switching off bias 65 74 BIAS_CONTROL/SET_ZERO_VOLTAGE 66 75 .w 5000 67 76 .s BIAS_CONTROL 7 77 > ...done 68 78 69 79 # So now we can take the 3 runs, which are called DRS amplitude calibration: … … 71 81 # A gain calibration run with ROI=1024 72 82 # and a second pedestal run, with the same ROI as our next data will be, i.e. ROI=300 in this case 73 .! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 83 > taking DRS:Pedestal 1000 ... 74 84 FAD_CONTROL/START_DRS_CALIBRATION 75 ###FAD_CONTROL/SET_FILE_FORMAT 0 85 ###FAD_CONTROL/SET_FILE_FORMAT 0 76 86 MCP/START -1 1000 drs-pedestal 77 87 .s FAD_CONTROL 8 78 88 .s FAD_CONTROL 4 79 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 89 > ... done 80 90 81 .! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 91 > taking DRS:Gain 1000 ... 82 92 MCP/START -1 1000 drs-gain 83 93 .s FAD_CONTROL 8 84 94 .s FAD_CONTROL 4 85 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 95 > ... done 86 96 87 .! echo `date -u` "taking Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 97 > taking Pedestal 1000 ... 88 98 MCP/START -1 1000 pedestal 89 99 .s FAD_CONTROL 8 90 100 .s FAD_CONTROL 4 91 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 101 > ... done 92 102 93 103 # okay this is the DRS calibration for the next few runs. 94 # we are now asked to take again a pedestal run, which can be used, to 95 # calculate the electronics noise for instance ... since the shutter is closed and the 104 # we are now asked to take again a pedestal run, which can be used, to 105 # calculate the electronics noise for instance ... since the shutter is closed and the 96 106 # voltage is off .. there should not be alot of signal in it :-) 97 .! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 107 > taking crosscheck Pedestal 1000 ... 98 108 FAD_CONTROL/SET_FILE_FORMAT 2 99 109 ###FAD_CONTROL/SET_FILE_FORMAT 0 … … 101 111 .s FAD_CONTROL 8 102 112 .s FAD_CONTROL 4 103 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 113 > ... done 104 114 105 # now we want to take a run, with dark counts events 115 # now we want to take a run, with dark counts events 106 116 # so we need to ramp up the voltage 107 117 # we want to use the 'current control' more so we give the commands for this... 108 .! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 118 > switching on current controll feedback ... 109 119 FEEDBACK/STOP 110 120 FEEDBACK/START_CURRENT_CONTROL 0.0 … … 112 122 # the feedback should be in state 'CurrentControl'(12) now 113 123 .s FEEDBACK 12 114 115 # now we give the feedback a hint, that it may ramp ... 124 > ... done 125 > switching on bias 126 # now we give the feedback a hint, that it may ramp ... 116 127 BIAS_CONTROL/SET_GLOBAL_DAC 1 117 128 # after this command the bias_ctrl should be in state 'VoltageOn'(9) after a second or so 118 129 .s BIAS_CONTROL 9 130 > ...1 DAC globally set 119 131 # then usually it takes some time until the feedback has enough information to really start controlling the voltage 120 132 # when the feedback actually kicks in, the bias is first in state 'Ramping'(5) for some seconds and finally in 'VoltageOn'(9) 121 133 # again 122 134 .s BIAS_CONTROL 5 135 > ...ramping to nominal voltage 123 136 .s BIAS_CONTROL 9 137 > ...bias on 124 138 # here we should wait 45 sec in order for the current control to get enough current readings and temp readings to stabilize.. 125 .! echo `date -u` "...waiting 45sec for the current control..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 139 > waiting 45sec for the current control to stabilize... 126 140 .w 45000 127 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 141 > ... done 128 142 129 # so now we can take the dark count run ... 143 # so now we can take the dark count run ... 130 144 # this might be changed in the future ... either the number of events or the the ROI might be changed 131 145 # then the DRS calibration above, and the pedestal run in between have to be changed as well. 132 .! echo `date -u` "taking Pedestal with BIAS on 3000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 146 > taking Pedestal with BIAS on 3000 ... 133 147 MCP/START -1 3000 pedestal 134 148 .s FAD_CONTROL 8 135 149 .s FAD_CONTROL 4 136 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 150 > ... done 137 151 138 152 # at the end the bias voltage should be ramped down, since in a few seconds a shifter wit ha flashlight 139 153 # will come out to open the shutter... 140 .! echo `date -u` "switching OFF bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 154 > switching OFF bias ... 141 155 BIAS_CONTROL/SET_ZERO_VOLTAGE 142 156 .s BIAS_CONTROL 7 143 144 .! echo `date -u` "This is the end of First DRS Calibration" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 145 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 146 .! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 147 .! echo `date -u` " " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 157 > ...done 158 > 159 > This is the end of First DRS Calibration 160 > ---------------------------------------------------- 161 > -
trunk/FACT++/ScriptsForDimCtrl/ResumeDataTaking
r13280 r13349 1 1 # DIM_CONTROL: resume data taking after it had to be aborted during first run of four 2 .! echo `date -u` "----------------------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 3 .! echo `date -u` "resume taking the 4 data runs after DataTaking was aborted..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo `date -u` "----------------------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "Operator: make sure bias is switched on and feedback is running!!!" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > ---------------------------------------------------------------- 3 > resume taking the 4 data runs after DataTaking was aborted... 4 > ---------------------------------------------------------------- 5 > Operator: make sure bias is switched on and feedback is running!!! 6 6 7 7 # check if bias is ramped up and if feedback is running … … 9 9 .s FEEDBACK 12 10 10 .s BIAS_CONTROL 9 11 .! echo `date -u` "bias is on, and feedback-program is working, but we wait 45sec for the current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 11 > bias is on, and feedback-program is working, but we wait 45sec for the current readings... 12 12 .w 45000 13 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 13 > ... done 14 14 15 15 #Data Taking with Full Trigger Area (4x5min) 16 16 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 17 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 17 > taking Data:FullTriggerArea 5min Run 1 ... 18 18 MCP/START 300 -1 data 19 19 .s FAD_CONTROL 8 20 20 .s FAD_CONTROL 4 21 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 21 > ... done 22 22 23 23 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 24 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 24 > taking Data:FullTriggerArea 5min Run 2 ... 25 25 MCP/START 300 -1 data 26 26 .s FAD_CONTROL 8 27 27 .s FAD_CONTROL 4 28 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 28 > ... done 29 29 30 30 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 31 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 31 > taking Data:FullTriggerArea 5min Run 3 ... 32 32 MCP/START 300 -1 data 33 33 .s FAD_CONTROL 8 34 34 .s FAD_CONTROL 4 35 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 35 > ... done 36 36 37 37 .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking 38 .! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 38 > taking Data:FullTriggerArea 5min Run 4 ... 39 39 MCP/START 300 -1 data 40 40 .s FAD_CONTROL 8 41 41 .s FAD_CONTROL 4 42 .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 42 > ... done 43 43 44 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 45 .! echo `date -u` "This is the end of data taking" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log46 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 44 > ---------------------------------------------------- 45 > This is the end of data taking 46 > ---------------------------------------------------- 47 47 -
trunk/FACT++/ScriptsForDimCtrl/TakeCrab
r13264 r13349 1 1 # Data taking and tracking script for Crab starting up... 2 .! echo 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo `date -u` "Data taking and tracking script for Crab starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > 3 > ---------------------------------------------------- 4 > Data taking and tracking script for Crab starting up... 5 > ---------------------------------------------------- 6 6 7 7 # changing tracking to Crab Wobble 1 8 .! echo `date -u` "moving telescope to wobble position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 9 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 8 > moving telescope to wobble position 1 9 > ...waiting for drivectrl to be ready to move 10 10 .s DRIVE_CONTROL 5 11 11 .w 5000 12 12 DRIVE_CONTROL/TRACK_SOURCE 0.6 50 Crab 13 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 13 > ...sent tracking command 14 14 15 15 # Wait for drivectrl to reply that its tracking the given source 16 16 .s DRIVE_CONTROL 6 17 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log17 > ...moving 18 18 .s DRIVE_CONTROL 7 19 .! echo `date -u` "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 20 .! echo `date -u` "...waiting 30 sec for drive to calm downe" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 21 .! echo 19 > ...tracking above written wobble position 20 > ...waiting 30 sec for drive to calm downe 21 > 22 22 .w 30000 23 23 24 24 # starting data taking of Crab Wobble 1 25 .! echo 25 > 26 26 .x ScriptsForDimCtrl/DataTaking1 27 27 … … 30 30 DRIVE_CONTROL/STOP 31 31 .s DRIVE_CONTROL 5 32 .! echo 33 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 34 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 35 .! echo 32 > 33 > ...stopped tracking of above wobble position 34 > ---------------------------------------------------- 35 > 36 36 37 37 # changing tracking to Crab Wobble 2 38 .! echo 39 .! echo `date -u` "Moving telescope to wobble Position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 40 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 38 > 39 > Moving telescope to wobble Position 2 40 > ...waiting for drivectrl to be ready to move 41 41 .s DRIVE_CONTROL 5 42 42 .w 5000 43 43 DRIVE_CONTROL/TRACK_SOURCE 0.6 -130 Crab 44 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 44 > ...sent tracking command 45 45 46 46 # Wait for drivectrl to reply that its tracking the given source 47 47 .s DRIVE_CONTROL 6 48 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log48 > ...moving 49 49 .s DRIVE_CONTROL 7 50 .! echo `date -u` "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 51 .! echo `date -u` "...waiting 30 sec for drive to calm downe" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 50 > ...tracking above written wobble position 51 > ...waiting 30 sec for drive to calm downe 52 52 .w 30000 53 53 54 54 # data taking to Crab Wobble 2 55 .! echo 55 > 56 56 .x ScriptsForDimCtrl/DataTaking2 57 57 … … 60 60 DRIVE_CONTROL/STOP 61 61 .s DRIVE_CONTROL 5 62 .! echo 63 .! echo `date -u` "...stopped tracking of Crab at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 64 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 65 .! echo 62 > 63 > ...stopped tracking of Crab at above wobble position 64 > ---------------------------------------------------- 65 > 66 66 # ...stopped tracking of Crab at above wobble position 67 67 # ---------------------------------------------------- -
trunk/FACT++/ScriptsForDimCtrl/TakeMrk421
r13265 r13349 1 1 # Data taking and tracking script for Mrk 421 starting up... 2 .! echo 3 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 4 .! echo `date -u` "Data taking and tracking script for Mrk 421 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 5 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 2 > 3 > ---------------------------------------------------- 4 > Data taking and tracking script for Mrk 421 starting up... 5 > ---------------------------------------------------- 6 6 7 7 # changing tracking to "Mrk 421" Wobble 1 8 .! echo `date -u` "moving telescope to wobble position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 9 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 8 > moving telescope to wobble position 1 9 > ...waiting for drivectrl to be ready to move 10 10 .s DRIVE_CONTROL 5 11 11 .w 2000 12 12 DRIVE_CONTROL/TRACK_SOURCE 0.6 90 "Mrk 421" 13 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 13 > ...sent tracking command 14 14 15 15 # Wait for drivectrl to reply that its tracking the given source 16 16 .s DRIVE_CONTROL 6 17 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log17 > ...moving 18 18 .s DRIVE_CONTROL 7 19 .! echo `date -u` "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 20 .! echo `date -u` "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 21 .! echo 19 > ...tracking above written wobble position 20 > ...waiting 30 sec for drive to calm down 21 > 22 22 23 23 .w 30000 24 24 25 25 # starting data taking of "Mrk 421" Wobble 1 26 .! echo 26 > 27 27 .x ScriptsForDimCtrl/DataTaking1 28 28 … … 31 31 DRIVE_CONTROL/STOP 32 32 .s DRIVE_CONTROL 5 33 .! echo 34 .! echo `date -u` "...stopped tracking of above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 35 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 33 > 34 > ...stopped tracking of above wobble position 35 > ---------------------------------------------------- 36 36 37 37 # changing tracking to "Mrk 421" Wobble 2 38 .! echo 39 .! echo `date -u` "moving telescope to wobble position 2" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 40 .! echo `date -u` "...waiting for drivectrl to be ready to move" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 38 > 39 > moving telescope to wobble position 2 40 > ...waiting for drivectrl to be ready to move 41 41 .s DRIVE_CONTROL 5 42 42 .w 2000 43 43 DRIVE_CONTROL/TRACK_SOURCE 0.6 -90 "Mrk 421" 44 .! echo `date -u` "...sent tracking command" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 44 > ...sent tracking command 45 45 46 46 # Wait for drivectrl to reply that its tracking the given source 47 47 .s DRIVE_CONTROL 6 48 .! echo `date -u` "...moving" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log48 > ...moving 49 49 .s DRIVE_CONTROL 7 50 .! echo `date -u` "...tracking above written wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 51 .! echo `date -u` "...waiting 30 sec for drive to calm down" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 52 .! echo 50 > ...tracking above written wobble position 51 > ...waiting 30 sec for drive to calm down 52 > 53 53 .w 30000 54 54 55 55 # data taking to "Mrk 421" Wobble 2 56 .! echo 56 > 57 57 .x ScriptsForDimCtrl/DataTaking2 58 58 … … 61 61 DRIVE_CONTROL/STOP 62 62 .s DRIVE_CONTROL 5 63 .! echo 64 .! echo `date -u` "...stopped tracking of Mrk421 at above wobble position" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 65 .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log 66 .! echo 63 > 64 > ...stopped tracking of Mrk421 at above wobble position 65 > ---------------------------------------------------- 66 > 67 67 # ...stopped tracking of Mrk421 at above wobble position 68 68 # ----------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.