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
|
---|
9 | FEEDBACK/ENABLE_OUTPUT 1
|
---|
10 |
|
---|
11 | # Making sure bias is off
|
---|
12 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
13 | .s BIAS_CONTROL 7
|
---|
14 | FAD_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
|
---|
18 | MCP/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
|
---|
24 | MCP/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
|
---|
30 | MCP/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
|
---|
36 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
37 | MCP/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
|
---|
43 | MCP/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
|
---|
49 | MCP/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
|
---|
55 | FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
|
---|
56 | MCP/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
|
---|
62 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
63 | MCP/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
|
---|
69 | BIAS_CONTROL/SET_GLOBAL_DAC 1
|
---|
70 | .s BIAS_CONTROL 9
|
---|
71 | .s BIAS_CONTROL 5
|
---|
72 | .s BIAS_CONTROL 9
|
---|
73 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
74 |
|
---|
75 | .! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
76 | MCP/START -1 1000 pedestal
|
---|
77 | .s FAD_CONTROL 8
|
---|
78 | .s FAD_CONTROL 4
|
---|
79 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
80 |
|
---|
81 | .! echo `date -u` "taking External Light Pulser with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
82 | MCP/START -1 1000 light-pulser-ext
|
---|
83 | .s FAD_CONTROL 8
|
---|
84 | .s FAD_CONTROL 4
|
---|
85 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
86 |
|
---|
87 | #Data Taking with Full Trigger Area (4x5min)
|
---|
88 |
|
---|
89 | .! echo `date -u` "taking Data:FullTriggerArea 5min Run 1 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
90 | MCP/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 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
96 | MCP/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 3 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
102 | MCP/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` "taking Data:FullTriggerArea 5min Run 4 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
108 | MCP/START 300 -1 data
|
---|
109 | .s FAD_CONTROL 8
|
---|
110 | .s FAD_CONTROL 4
|
---|
111 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
112 |
|
---|
113 | .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
114 | .! echo `date -u` "This is the end of Data Taking of Crab Wobble 1" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
115 |
|
---|