source: trunk/FACT++/ScriptsForDimCtrl/ResetCrate.dim@ 14298

Last change on this file since 14298 was 14297, checked in by Jens Buss, 12 years ago
modified location of subscripts
File size: 1.2 KB
Line 
1#!dimctrl --exec
2
3# ==========================================================================
4# Reset Crate
5
6# ==========================================================================
7# Script for Reset of a crate
8
9# call it by: .x ScriptsForDimCtrl/resetCrate.dim C=<nr_of_board_to_reset>
10
11# ----------------------------------------------------
12
13> ===================================================
14> resetting crate ${C}
15>
16> ...resetting MCP
17MCP/RESET
18.w 5000
19> ...diconnecting FAD boards of crate ${C}
20.x ScriptsForDimCtrl/ServiceScripts/FadDisonnectCrate.dim:${C}
21.w 2000
22
23> ...disconnecting All FTUs
24FTM_CONTROL/ENABLE_FTU -1 no
25.w 2000
26
27> ...checking state of FTM_Control
28> ...waiting for state 3:Idle
29.s FTM_CONTROL 3 2000 60
30.j 61
31
32# ---------------------------------------------------
33: 60
34> ...stopping trigger
35FTM_CONTROL/STOP_TRIGGER
36.s FTM_CONTROL 3
37# ---------------------------------------------------
38
39: 61
40> ...resetting crate
41FTM_CONTROL/RESET_CRATE ${C}
42.w 2000
43
44> ...connecting All FTUs
45FTM_CONTROL/ENABLE_FTU -1 yes
46.w 4000
47
48> ...connecting FAD boards of crate ${C}
49.x ScriptsForDimCtrl/ServiceScripts/FadConnectCrate.dim:${C}
50> ...done
51> ===================================================
Note: See TracBrowser for help on using the repository browser.