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
|
---|
8 | FEEDBACK/ENABLE_OUTPUT 1
|
---|
9 |
|
---|
10 | # Making sure bias is off
|
---|
11 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
12 | .s BIAS_CONTROL 7
|
---|
13 | FAD_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
|
---|
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 | .! echo `date -u` "Operator: Measure Sky Brightness" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
68 |
|
---|
69 | .! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
70 | BIAS_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
|
---|
81 | MCP/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
|
---|
88 | MCP/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
|
---|
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 | .x /ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking
|
---|
102 | .! echo `date -u` "taking Data:FullTriggerArea 5min Run 2 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
103 | MCP/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
|
---|
110 | MCP/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
|
---|
117 | MCP/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 |
|
---|