source: trunk/FACT++/ScriptsForDimCtrl/ServiceScripts/TakeDrsCalibration.dim@ 18066

Last change on this file since 18066 was 14263, checked in by Jens Buss, 12 years ago
additional out put for wait-states in scripts
File size: 3.3 KB
Line 
1#!dimctrl --exec
2
3>
4> -----------
5> script for DRS-Calibration before Data taking
6> starting up...
7> -----------
8>
9
10# enable feedback output
11FEEDBACK/ENABLE_OUTPUT 1
12
13# Making sure bias is off, before the DRS calibration starts
14BIAS_CONTROL/SET_ZERO_VOLTAGE
15> ...ramping Voltage down
16>
17> ...waiting for BIAS to be in state 7: Voltage Off
18.s BIAS_CONTROL 7 # Voltage Off
19
20# starting the DRS calibration
21FAD_CONTROL/START_DRS_CALIBRATION
22> ...BIAS voltage is switched off
23>
24
25# taking first DRS:Pedestal with 1000 Events and ROI 1024
26> taking DRS:Pedestal 1000 ...
27> ...waiting for FAD to be in state 4: Connected
28.s FAD_CONTROL 4 # Connected
29MCP/START -1 1000 drs-pedestal
30> ...waiting for FAD to be in state 8: Writing Data
31.s FAD_CONTROL 8 # Writing Data
32> ...waiting for FAD to be in state 4: Connected
33.s FAD_CONTROL 4 # Connected
34> ... done
35>
36
37# taking DRS:Gain with 1000 Events and ROI 1024
38> taking DRS:Gain 1000 ...
39MCP/START -1 1000 drs-gain
40> ...waiting for FAD to be in state 8: Writing Data
41.s FAD_CONTROL 8 # Writing Data
42> ...waiting for FAD to be in state 4: Connected
43.s FAD_CONTROL 4 # Connected
44> ... done
45>
46
47# taking DRS:Pedestal 1000 Events and ROI 1024
48> taking DRS:Pedestal 1000 ...
49MCP/START -1 1000 drs-pedestal
50> ...waiting for FAD to be in state 8: Writing Data
51.s FAD_CONTROL 8 # Writing Data
52> ...waiting for FAD to be in state 4: Connected
53.s FAD_CONTROL 4 # Connected
54> ... done
55>
56
57# taking again a DRS:Pedestal with 1000 Events and ROI 1024 for a crosscheck of calculated calibrations constants
58> taking crosscheck DRS:Pedestal 1000 ...
59FAD_CONTROL/SET_FILE_FORMAT 2
60MCP/START -1 1000 drs-pedestal
61> ...waiting for FAD to be in state 8: Writing Data
62.s FAD_CONTROL 8 # Writing Data
63> ...waiting for FAD to be in state 4: Connected
64.s FAD_CONTROL 4 # Connected
65> ... done
66>
67
68# taking DRS:Time with 1000 Events and ROI 1024
69> taking DRS:Time 1000 ...
70MCP/START -1 1000 drs-time
71> ...waiting for FAD to be in state 8: Writing Data
72.s FAD_CONTROL 8 # Writing Data
73> ...waiting for FAD to be in state 4: Connected
74.s FAD_CONTROL 4 # Connected
75> ... done
76>
77
78# taking DRS:Time upshifted 1000 Events and ROI 1024
79> taking DRS:Time upshifted 1000 ...
80MCP/START -1 1000 drs-time-upshifted
81> ...waiting for FAD to be in state 8: Writing Data
82.s FAD_CONTROL 8 # Writing Data
83> ...waiting for FAD to be in state 4: Connected
84.s FAD_CONTROL 4 # Connected
85> ... done
86>
87
88# taking a Pedestal with 1000 Events and ROI 300 for secondary baseline...
89> taking Pedestal 1000 for secondary baseline...
90FAD_CONTROL/RESET_SECONDARY_DRS_BASELINE
91MCP/START -1 1000 pedestal
92> ...waiting for FAD to be in state 8: Writing Data
93.s FAD_CONTROL 8 # Writing Data
94> ...waiting for FAD to be in state 4: Connected
95.s FAD_CONTROL 4 # Connected
96> ... done
97>
98
99# taking crosscheck Pedestal 1000 Events and ROI 300
100> taking crosscheck Pedestal 1000 ...
101FAD_CONTROL/SET_FILE_FORMAT 2
102MCP/START -1 1000 pedestal
103> ...waiting for FAD to be in state 8: Writing Data
104.s FAD_CONTROL 8 # Writing Data
105> ...waiting for FAD to be in state 4: Connected
106.s FAD_CONTROL 4 # Connected
107> ... done
108
109> ----------------------------------------------------
110> This is the end of the
111> DRS-Calibration before Data taking
112> ----------------------------------------------------
Note: See TracBrowser for help on using the repository browser.