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

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