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

Last change on this file since 13111 was 13111, checked in by neise, 13 years ago
incl. 45sec wait after bias ramped up
File size: 5.0 KB
Line 
1# Move Telescope to Wobble Position 1
2.! echo `date -u` "Data Taking script for Crab Wobble 1 starting up... " >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
3.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
4.! echo
5.! echo `date -u` "Operator: Move telescope to wobble Position 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
6.! echo `date -u` "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
7.! echo `date -u` "... This script will wait 10sec for you to wobble" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
8.w 10000
9FEEDBACK/ENABLE_OUTPUT 1
10
11# Making sure bias is off
12BIAS_CONTROL/SET_ZERO_VOLTAGE
13.s BIAS_CONTROL 7
14FAD_CONTROL/START_DRS_CALIBRATION
15.! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
16
17.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
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
68.! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
69BIAS_CONTROL/SET_GLOBAL_DAC 1
70.s BIAS_CONTROL 9
71.s BIAS_CONTROL 5
72.s BIAS_CONTROL 9
73# here one should wait 30..45sec according to TB
74.! echo `date -u` "bias is on, and feedback-program is working, but we wait 45sec for the current readings..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
75.w 45000
76.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
77
78.! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
79MCP/START -1 1000 pedestal
80.s FAD_CONTROL 8
81.s FAD_CONTROL 4
82.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
83
84.! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
85MCP/START -1 1000 light-pulser-ext
86.s FAD_CONTROL 8
87.s FAD_CONTROL 4
88.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
89
90#Data Taking with Full Trigger Area (4x5min)
91
92.! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
93MCP/START 300 -1 data
94.s FAD_CONTROL 8
95.s FAD_CONTROL 4
96.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
97
98.! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
99MCP/START 300 -1 data
100.s FAD_CONTROL 8
101.s FAD_CONTROL 4
102.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
103
104.! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
105MCP/START 300 -1 data
106.s FAD_CONTROL 8
107.s FAD_CONTROL 4
108.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
109
110.! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
111MCP/START 300 -1 data
112.s FAD_CONTROL 8
113.s FAD_CONTROL 4
114.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
115
116.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
117.! echo `date -u` "This is the end of Data Taking of Crab Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
118
Note: See TracBrowser for help on using the repository browser.