source: trunk/FACT++/ScriptsForDimCtrl/DataTaking1@ 13277

Last change on this file since 13277 was 13277, checked in by Jens Buss, 13 years ago
changed that within the script <IsReadyForDataTaking> is called from the subfolder ServiceScripts
File size: 5.3 KB
Line 
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
8FEEDBACK/ENABLE_OUTPUT 1
9
10# Making sure bias is off
11BIAS_CONTROL/SET_ZERO_VOLTAGE
12.s BIAS_CONTROL 7
13FAD_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
17.s FAD_CONTROL 4
18MCP/START -1 1000 drs-pedestal
19.s FAD_CONTROL 8
20.s FAD_CONTROL 4
21.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
22
23.! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
24MCP/START -1 1000 drs-gain
25.s FAD_CONTROL 8
26.s FAD_CONTROL 4
27.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
28
29.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
30MCP/START -1 1000 drs-pedestal
31.s FAD_CONTROL 8
32.s FAD_CONTROL 4
33.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
34
35.! echo `date -u` "taking crosscheck DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
36FAD_CONTROL/SET_FILE_FORMAT 2
37MCP/START -1 1000 drs-pedestal
38.s FAD_CONTROL 8
39.s FAD_CONTROL 4
40.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
41
42.! echo `date -u` "taking DRS:Time 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
43MCP/START -1 1000 drs-time
44.s FAD_CONTROL 8
45.s FAD_CONTROL 4
46.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
47
48.! echo `date -u` "taking DRS:Time upshifted 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
49MCP/START -1 1000 drs-time-upshifted
50.s FAD_CONTROL 8
51.s FAD_CONTROL 4
52.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
53
54.! echo `date -u` "taking Pedestal 1000 for secondary baseline..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
55FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
56MCP/START -1 1000 pedestal
57.s FAD_CONTROL 8
58.s FAD_CONTROL 4
59.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
60
61.! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
62FAD_CONTROL/SET_FILE_FORMAT 2
63MCP/START -1 1000 pedestal
64.s FAD_CONTROL 8
65.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
68
69.! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
70BIAS_CONTROL/SET_GLOBAL_DAC 1
71.s BIAS_CONTROL 9
72.s BIAS_CONTROL 5
73.s BIAS_CONTROL 9
74# 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
76.w 45000
77.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
78
79.x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
80.! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
81MCP/START -1 1000 pedestal
82.s FAD_CONTROL 8
83.s FAD_CONTROL 4
84.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
85
86.x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
87.! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
88MCP/START -1 1000 light-pulser-ext
89.s FAD_CONTROL 8
90.s FAD_CONTROL 4
91.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
92
93#Data Taking with Full Trigger Area (4x5min)
94.x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
95.! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
96MCP/START 300 -1 data
97.s FAD_CONTROL 8
98.s FAD_CONTROL 4
99.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
100
101.x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
102.! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
103MCP/START 300 -1 data
104.s FAD_CONTROL 8
105.s FAD_CONTROL 4
106.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
107
108.x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
109.! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
110MCP/START 300 -1 data
111.s FAD_CONTROL 8
112.s FAD_CONTROL 4
113.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
114
115.x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
116.! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
117MCP/START 300 -1 data
118.s FAD_CONTROL 8
119.s FAD_CONTROL 4
120.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
121
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
124
Note: See TracBrowser for help on using the repository browser.