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

Last change on this file since 13201 was 13187, checked in by Jens Buss, 13 years ago
changed the output
File size: 5.0 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
63.! echo `date -u` "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
64MCP/START -1 1000 pedestal
65.s FAD_CONTROL 8
66.s FAD_CONTROL 4
67.! echo `date -u` "... done" >> ~/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.! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
80MCP/START -1 1000 pedestal
81.s FAD_CONTROL 8
82.s FAD_CONTROL 4
83.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
84
85.! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
86MCP/START -1 1000 light-pulser-ext
87.s FAD_CONTROL 8
88.s FAD_CONTROL 4
89.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
90
91#Data Taking with Full Trigger Area (4x5min)
92
93.! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
94MCP/START 300 -1 data
95.s FAD_CONTROL 8
96.s FAD_CONTROL 4
97.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
98
99.! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
100MCP/START 300 -1 data
101.s FAD_CONTROL 8
102.s FAD_CONTROL 4
103.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
104
105.! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
106MCP/START 300 -1 data
107.s FAD_CONTROL 8
108.s FAD_CONTROL 4
109.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
110
111.! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
112MCP/START 300 -1 data
113.s FAD_CONTROL 8
114.s FAD_CONTROL 4
115.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
116
117.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
118.! echo `date -u` "This is the end of data taking of Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
119
Note: See TracBrowser for help on using the repository browser.