source: trunk/FACT++/ScriptsForDimCtrl/Startup.dim@ 18877

Last change on this file since 18877 was 14358, checked in by Jens Buss, 12 years ago
whitespace
File size: 2.4 KB
Line 
1#!dimctrl --exec
2
3# ==========================================================================
4# Startup
5# ==========================================================================
6# Script for Software Startup
7
8# call it by: .x ScriptsForDimCtrl/Startup.dim
9
10# ----------------------------------------------------
11
12> ======================================
13> SYSTEM STARTUP
14> ======================================
15> BIAS_CONTROL
16> ...checking state of biasctrl
17.s BIAS_CONTROL 1 1000 2
18> ...bias DISCONNECTED
19> ...reconnecting
20BIAS_CONTROL/RECONNECT
21
22:2
23> ...wating for state 7: VoltageOff
24.s BIAS_CONTROL 7 2000 3
25.j 4
26
27:3
28.s BIAS_CONTROL 9 2000 256
29> ...VoltageOn
30> ...ramping down
31BIAS_CONTROL/SET_GLOBAL_DAC 0
32> ...waiting for bias ramping
33.s BIAS_CONTROL 5
34> ...ramping
35.s BIAS_CONTROL 7 15000 4
36
37:4
38> ...connected, VoltageOff
39> Bias ready
40> --------------------------------------
41
42# --------------------------------------
43
44> FTM_CONTROL
45> ...enabling all FTUs
46FTM_CONTROL/ENABLE_FTU -1 yes
47> ...waiting 6 seconds
48.w 6000
49
50# --------------------------------------
51> FAD_CONTROL
52> ...starting FADs
53
54FAD_CONTROL/START
55> ...checking fadctrl state
56.s FAD_CONTROL 4 5000 5
57> ...connected
58> FADs Ready!
59> --------------------------------------
60>-
61.j 300
62
63# --------------------------------------
64:5
65> --------------------------------------
66> not all FADs are connected
67> sending two triggers to request update
68
69FAD_CONTROL/SEND_SINGLE_TRIGGER
70.w 3000
71
72FAD_CONTROL/SEND_SINGLE_TRIGGER
73.w 2000
74
75> ...checking fadctrl state again
76.s FAD_CONTROL 4 5000 6
77> ...connected
78.j 300
79
80# --------------------------------------
81:6
82> --------------------------------------
83> not all FADs are connected
84> --------------------------------------
85> OPERATOR:
86> + check for FAD or FTU Loss
87> + finish Startup manually
88> --------------------------------------
89.j 301
90
91# --------------------------------------
92
93:256
94> --------------------------------------
95> BIAS not properly connected
96> --------------------------------------
97> OPERATOR:
98> + check biasctrl
99> + finish Startup manually
100> --------------------------------------
101.j 301
102
103# --------------------------------------
104
105:300
106> ======================================
107> SYSTEM STARTUP finished successfully
108> ======================================
109
110# --------------------------------------
111
112:301
113> ======================================
114> SYSTEM STARTUP finished with PROBLEMS
115> ======================================
116
Note: See TracBrowser for help on using the repository browser.