1 | #!dimctrl --exec
|
---|
2 |
|
---|
3 | # ==========================================================================
|
---|
4 | # resume data taking
|
---|
5 | # ==========================================================================
|
---|
6 | # Script to resume data taking after it had to be aborted
|
---|
7 | # during first run of four data runs
|
---|
8 |
|
---|
9 | # call it by: .x ScriptsForDimCtrl/ResumeDataTaking.dim N=<number of runs>
|
---|
10 | # N = 1...4
|
---|
11 |
|
---|
12 | # ----------------------------------------------------
|
---|
13 |
|
---|
14 | > ======================================
|
---|
15 | > resume taking ${N} data runs after
|
---|
16 | > DataTaking was aborted...
|
---|
17 | > ======================================
|
---|
18 | > OPERATOR:
|
---|
19 | > + make sure bias is switched on
|
---|
20 | > + make sure feedback is running!!!
|
---|
21 | > --------------------------------------
|
---|
22 |
|
---|
23 | # check if bias is ramped up and if feedback is running
|
---|
24 |
|
---|
25 | > ...waiting for BIAS_CONTROL
|
---|
26 | > to be in state 9: VoltageOn
|
---|
27 | .s BIAS_CONTROL 9
|
---|
28 |
|
---|
29 | > ...waiting for FEEDBACK
|
---|
30 | > to be in state 12: CurrentControl
|
---|
31 | .s FEEDBACK 12
|
---|
32 |
|
---|
33 | > ...waiting for BIAS_CONTROL
|
---|
34 | > to be in state 9: VoltageOn
|
---|
35 | .s BIAS_CONTROL 9
|
---|
36 |
|
---|
37 | > ...bias is on
|
---|
38 | > ...feedback-program is working
|
---|
39 | > waiting 45sec for the current readings
|
---|
40 | > --------------------------------------
|
---|
41 | .w 45000
|
---|
42 |
|
---|
43 | .j ${N}
|
---|
44 |
|
---|
45 | #Data Taking with Full Trigger Area (4x5min)
|
---|
46 |
|
---|
47 | :4
|
---|
48 | .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
|
---|
49 | > taking Data:FullTriggerArea 5min Run
|
---|
50 | MCP/START 300 -1 data
|
---|
51 | .s FAD_CONTROL 8
|
---|
52 | .s FAD_CONTROL 4
|
---|
53 | > ... done
|
---|
54 |
|
---|
55 | :3
|
---|
56 | .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
|
---|
57 | > taking Data:FullTriggerArea 5min Run
|
---|
58 | MCP/START 300 -1 data
|
---|
59 | .s FAD_CONTROL 8
|
---|
60 | .s FAD_CONTROL 4
|
---|
61 | > ... done
|
---|
62 |
|
---|
63 | :2
|
---|
64 | .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
|
---|
65 | > taking Data:FullTriggerArea 5min Run
|
---|
66 | MCP/START 300 -1 data
|
---|
67 | .s FAD_CONTROL 8
|
---|
68 | .s FAD_CONTROL 4
|
---|
69 | > ... done
|
---|
70 |
|
---|
71 | :1
|
---|
72 | .x ScriptsForDimCtrl/ServiceScripts/IsReadyForDataTaking.dim
|
---|
73 | > taking Data:FullTriggerArea 5min Run
|
---|
74 | MCP/START 300 -1 data
|
---|
75 | .s FAD_CONTROL 8
|
---|
76 | .s FAD_CONTROL 4
|
---|
77 | > ... done
|
---|
78 |
|
---|
79 | > ======================================
|
---|
80 | > resumed data taking finished
|
---|
81 | > ======================================
|
---|
82 |
|
---|