source: branches/FACT++_part_filenames/ScriptsForDimCtrl/ResetCrate.dim@ 18758

Last change on this file since 18758 was 14425, checked in by Daniela Dorner, 12 years ago
fixed typo
File size: 1.3 KB
Line 
1#!dimctrl --exec
2
3# ==========================================================================
4# Reset Crate
5# ==========================================================================
6# Script for Reset of a crate
7
8# call it by: .x ScriptsForDimCtrl/ResetCrate.dim C=<nr_of_board_to_reset>
9
10# ----------------------------------------------------
11
12> ======================================
13> Crate-Reset for crate ${C}
14> ======================================
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> ...pinging FTUs
48FTM_CONTROL/PING
49
50> ...connecting FAD boards of crate ${C}
51.x ScriptsForDimCtrl/ServiceScripts/FadConnectCrate.dim:${C}
52> ======================================
53> Crate-Reset for crate ${C} finished
54> ======================================
Note: See TracBrowser for help on using the repository browser.