Changeset 13349 for trunk/FACT++/ScriptsForDimCtrl/DataTaking1
- Timestamp:
- 04/16/12 14:29:41 (13 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.