source: trunk/FACT++/ScriptsForDimCtrl/DataTakingWobble1@ 12680

Last change on this file since 12680 was 12680, checked in by neise, 13 years ago
initial commit of DimCtrl Script for DataTaking
File size: 4.5 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 Pedestal 1000 for secondary baseline..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
49FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
50MCP/START -1 1000 pedestal
51.s FAD_CONTROL 8
52.s FAD_CONTROL 4
53.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
54
55.! echo `date -u` "taking crosscheck DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
56FAD_CONTROL/SET_FILE_FORMAT 2
57MCP/START -1 1000 drs-pedestal
58.s FAD_CONTROL 8
59.s FAD_CONTROL 4
60.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
61
62.! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
63BIAS_CONTROL/SET_GLOBAL_DAC 1
64.s BIAS_CONTROL 9
65.s BIAS_CONTROL 5
66.s BIAS_CONTROL 9
67.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
68
69.! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
70MCP/START -1 1000 pedestal
71.s FAD_CONTROL 8
72.s FAD_CONTROL 4
73.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
74
75.! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
76MCP/START -1 1000 light-pulser-ext
77.s FAD_CONTROL 8
78.s FAD_CONTROL 4
79.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
80
81#Data Taking with Full Trigger Area (4x5min)
82
83.! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
84MCP/START 300 -1 data
85.s FAD_CONTROL 8
86.s FAD_CONTROL 4
87.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
88
89.! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
90MCP/START 300 -1 data
91.s FAD_CONTROL 8
92.s FAD_CONTROL 4
93.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
94
95.! echo `date -u` "taking Data:FullTriggerArea 5min Run 3 ..." >> ~/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.! echo `date -u` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
102MCP/START 300 -1 data
103.s FAD_CONTROL 8
104.s FAD_CONTROL 4
105.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
106
107.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
108.! echo `date -u` "This is the end of Data Taking of Crab Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
109
Note: See TracBrowser for help on using the repository browser.