source: trunk/FACT++/ScriptsForDimCtrl/FirstDrsCalib@ 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: 2.2 KB
Line 
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
4FEEDBACK/ENABLE_OUTPUT 1
5BIAS_CONTROL/SET_ZERO_VOLTAGE
6.s BIAS_CONTROL 7
7FAD_CONTROL/START_DRS_CALIBRATION
8.! echo `date -u` "bias voltage is switched off" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
9
10.! echo `date -u` "taking DRS:Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
11MCP/START -1 1000 drs-pedestal
12.s FAD_CONTROL 8
13.s FAD_CONTROL 4
14.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
15
16.! echo `date -u` "taking DRS:Gain 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
17MCP/START -1 1000 drs-gain
18.s FAD_CONTROL 8
19.s FAD_CONTROL 4
20.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
21
22.! echo `date -u` "taking Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
23MCP/START -1 1000 pedestal
24.s FAD_CONTROL 8
25.s FAD_CONTROL 4
26.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
27
28.! echo `date -u` "taking crosscheck Pedestal 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
29FAD_CONTROL/SET_FILE_FORMAT 2
30MCP/START -1 1000 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` "switching on bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
36BIAS_CONTROL/SET_GLOBAL_DAC 1
37.s BIAS_CONTROL 9
38.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
39
40.! echo `date -u` "taking Pedestal with BIAS on 1000 ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
41MCP/START -1 1000 pedestal
42.s FAD_CONTROL 8
43.s FAD_CONTROL 4
44.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
45
46.! echo `date -u` "switching OFF bias ..." >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
47BIAS_CONTROL/SET_ZERO_VOLTAGE
48.s BIAS_CONTROL 7
49.! echo `date -u` "... done" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
50
51.! echo `date -u` "----------------------------------------------------" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
52.! echo `date -u` "This is the end of First DRS Calibration" >> ~/FACT++/ScriptsForDimCtrl/DataTaking.log
Note: See TracBrowser for help on using the repository browser.