1 | # Making sure bias is off
|
---|
2 | .! echo `date -u` "First DRS Calibration Script starting up..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
3 | .! echo `date -u` "-------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
4 | BIAS_CONTROL/RECONNECT
|
---|
5 | FEEDBACK/START_TEMP_CONTROL 0.00
|
---|
6 | FEEDBACK/ENABLE_OUTPUT 1
|
---|
7 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
8 | .s BIAS_CONTROL 7
|
---|
9 | FAD_CONTROL/START_DRS_CALIBRATION
|
---|
10 | .! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
11 |
|
---|
12 | .! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
13 | MCP/START -1 1000 drs-pedestal
|
---|
14 | .s FAD_CONTROL 8
|
---|
15 | .s FAD_CONTROL 4
|
---|
16 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
17 |
|
---|
18 | .! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
19 | MCP/START -1 1000 drs-gain
|
---|
20 | .s FAD_CONTROL 8
|
---|
21 | .s FAD_CONTROL 4
|
---|
22 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
23 |
|
---|
24 | .! echo `date -u` "taking Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
25 | MCP/START -1 1000 pedestal
|
---|
26 | .s FAD_CONTROL 8
|
---|
27 | .s FAD_CONTROL 4
|
---|
28 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
29 |
|
---|
30 | .! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
31 | FAD_CONTROL/SET_FILE_FORMAT 2
|
---|
32 | MCP/START -1 1000 pedestal
|
---|
33 | .s FAD_CONTROL 8
|
---|
34 | .s FAD_CONTROL 4
|
---|
35 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
36 |
|
---|
37 | .! echo `date -u` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
38 | BIAS_CONTROL/SET_GLOBAL_DAC 1
|
---|
39 | .s BIAS_CONTROL 9
|
---|
40 | .s BIAS_CONTROL 5
|
---|
41 | .s BIAS_CONTROL 9
|
---|
42 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
43 |
|
---|
44 | .! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
45 | MCP/START -1 1000 pedestal
|
---|
46 | .s FAD_CONTROL 8
|
---|
47 | .s FAD_CONTROL 4
|
---|
48 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
49 |
|
---|
50 | .! echo `date -u` "switching OFF bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
51 | BIAS_CONTROL/SET_ZERO_VOLTAGE
|
---|
52 | .s BIAS_CONTROL 7
|
---|
53 | .! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
54 |
|
---|
55 | .! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|
56 | .! echo `date -u` "This is the end of First DRS Calibration" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
|
---|