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

Last change on this file since 14300 was 14300, checked in by Jens Buss, 12 years ago
add a ping of the FTUs
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> ...pinging FTUs
48FTM_CONTROL/PING
49
50> ...connecting FAD boards of crate ${C}
51.x ScriptsForDimCtrl/ServiceScripts/FadConnectCrate.dim:${C}
52> ...done
53> ===================================================
Note: See TracBrowser for help on using the repository browser.