]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
update control scripts
authorhadaq <jan@lxhadeb07>
Wed, 23 Feb 2022 10:23:30 +0000 (11:23 +0100)
committerhadaq <jan@lxhadeb07>
Wed, 23 Feb 2022 10:23:30 +0000 (11:23 +0100)
33 files changed:
control/gui/daq/old/40_ReSync_OEP [moved from control/gui/daq/40_ReSync_OEP with 100% similarity]
control/gui/expert/Restart_BNET_Control
control/gui/expert/Restart_Rawdata_Mon
control/gui/expert/Restart_Sequencer
control/gui/expert/Thresholds_STS_Reset
control/gui/monitor/91_Hmon_Snaphot
control/gui/power/ECAL_Padiwa_Powercycle
control/gui/power/ECAL_RPC_Powercycle
control/gui/power/HUBS_Powercycle
control/gui/power/Hodo_Powercycle
control/gui/power/RICH_Powercycle
control/gui/power/STS_Fee_Powercycle
control/gui/power/STS_fRPC_Powercycle
control/gui/power/Start_Powercycle
control/gui/power/TOF_MdcHub_iTOF_Powercycle
control/gui/power/Triggerbox_Beam_Powercycle
control/gui/power/iTOF_Padiwa_Powercycle
control/gui/reboot/50_Reboot_Dirich
control/gui/reboot/50_Reboot_Ecal
control/gui/reboot/50_Reboot_FD_TOF_Ho_Hubs
control/gui/reboot/50_Reboot_Hubs
control/gui/reboot/50_Reboot_MDC_Hub
control/gui/reboot/50_Reboot_RICH_Hubs
control/gui/reboot/50_Reboot_RPC
control/gui/reboot/50_Reboot_Ri_RPC_EC_iT_Hubs
control/gui/reboot/50_Reboot_Rich_Combiner
control/gui/reboot/50_Reboot_STS_Hodo
control/gui/reboot/50_Reboot_Start_iTOF
control/gui/reboot/99_Fix_Missing_IP
control/gui/settings/BLR_Reinit_FPGA
control/gui/settings/Beam_Abort_Toggle [new file with mode: 0755]
control/gui/settings/Thresholds_HODO
control/gui/settings/Thresholds_RPC_fRPC

index cc6fe07cfc7d03cbed6bc14de9b3b9714cb520ea..d9d242300cbab57b4526a21c2e342df0ff3f7bd8 100755 (executable)
@@ -8,7 +8,7 @@
 xterm -geometry 80x24 -bg orange -fg black -e bash -c ' 
       ssh hadaq@lxhadeb12p "
       /home/hadaq/bin/restart_bnetmaster.sh
-      echo closing window in 5 secs...
+      echo Done
       sleep 5
       " 
 '
index db29d8ce4e9aafceaaff6acacb851a2fafbb948f..144eeea087fd412d24d48ce83ed9b81e55edfbdd 100755 (executable)
@@ -9,7 +9,7 @@
 xterm -geometry 80x24 -bg orange -fg black -e bash -c ' 
       ssh hadaq@lxhadeb12p "
       /home/hadaq/bin/restart_rawmon.sh
-      echo closing window in 5 secs...
+      echo Done
       sleep 5
       " 
 '
index 96d92442343debdd2796ac14c72d2b2615281bc4..924da4d7d52de1ba12a1268a7a036e2d5063f944 100755 (executable)
@@ -4,6 +4,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c '
   ssh scs@lxhadeb06 "
   echo Re-starting Sequencers
   echo -en \"\x18\"| netcat -w 1 localhost 4813
+  echo Done
   sleep 5
   "
 '
index f7c9aab6258bd3ab6a6f7b52be04880a82486821..7e0117f3646de4c658df07f1c9a2e95148c02bd0 100755 (executable)
@@ -16,6 +16,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
 
  
   echo \"Loading STS Pasttrec settings finished\"
+  echo Done
   sleep 10
 "
 '
index 72e3962b8ecf1c4f5640a8181d14f17b4dd80de0..145a23c7296f666ca464c8fb395086a2693c013b 100755 (executable)
@@ -3,5 +3,6 @@
 #ssh -X -l scs lxhadeb06 '. /home/scs/.profile; medm -x hades.adl' 
 xterm -geometry 80x24 -bg green -fg black -e bash -c "
   ssh hadaq@hadesp33 'cd /home/hadaq/trbsoft/daq/hmon; PERL5LIB=. perl ./permanent/hmon_archiver.pl once'
-  sleep 1000
+  echo Done
+  sleep 120
   ";
index f53d9233588d9c258ac6e86e4fe6182bf1be6a8d..661ba079b76068c04fec7d9c93fecad9863f2535 100755 (executable)
@@ -11,6 +11,7 @@ xterm  -e bash --login -c  '
   echo \"Starting a STS / fRPC Power-Cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./ECAL_LV5_Powercycle.sh;
+  echo Done
   sleep 5
 "
 '
index 69e8e17896c3a933170430202bdaefda35764178..4e8ccf423f872cfdd1faf45fffc5ac24ac2a3748 100755 (executable)
@@ -9,6 +9,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a RPC/ECAL power cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./ECAL_Powercycle.pl;
+  echo Done
+
   sleep 5
   "
 '
index dabc474ad4791cc001228d0046800def853bbbe3..2c2c088358e9c4022d37379d21a9f6ce2e295d09 100755 (executable)
@@ -9,6 +9,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a HUB-Power-Cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./HUB_Powercycle.pl;
+    echo Done
+
   sleep 5
 "
 '
index 61de00f13fd67389bf3c5c6dd432e7f971f7bc77..93a70b56c1c0fc3cd37b6f27ec4570e04f03967b 100755 (executable)
@@ -10,6 +10,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a Hodoscope power cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   bash Powercycle_Hodo.sh;
+  echo Done
+  
   sleep 5
   "
 '
index 72e8d6eb033a7aeec77f6eecceade3c3a5d51d0e..96820b3c7a4d3fcd58455823db9792eab0e44592 100755 (executable)
@@ -9,6 +9,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a RICH power cycle...\"
   cd /home/hadaq/trbsoft/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./RICH_Powercycle.pl;
+    echo Done
+
   sleep 5
   "
 '
index 7488048659521cea4fa0b94507b8ffa6044271ea..bc1d43b596f2195baeed9445da4b6bb69485e651 100755 (executable)
@@ -11,6 +11,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a STS Pasttrec Power-Cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./Powercycle_STS_Fee.sh;
+    echo Done
+
   sleep 5
 "
 '
index 2739a01f53465ffa5042397de360b1983bd31fbe..e5f6edfc3b544a8e125f7a23895c3f983ac5ba5c 100755 (executable)
@@ -9,9 +9,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a STS / fRPC Power-Cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl Powercycle_STS_fRPC.pl;
-  sleep 5
-  /home/hadaq/trbsoft/hadesdaq/sts/settings/reset_asics_sts1.sh
-  /home/hadaq/trbsoft/hadesdaq/sts/settings/reset_asics_sts2.sh
+    echo Done
+
   sleep 5
 "
 '
index 952ff4b55cbb1655a210f50728fa52a8d44abed5..c08c6e543533dac2c5c138a319e1adc03aa620ca 100755 (executable)
@@ -10,6 +10,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a Start power cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   bash Powercycle_Start.sh;
+    echo Done
+
   sleep 5
   "
 '
index b658928a6013fc5166fd85d26b8db3d8dc8d3957..9d5f430313cdb4e40d60d2b56494c8cdf42b4a05 100755 (executable)
@@ -9,6 +9,7 @@ xterm  -e bash --login -c  '
   echo \"Starting a MDC/TOF/Central power cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./MdcTofCentral_Powercycle.pl;
+  echo Done
   sleep 5
   "
 '
index 5f866f17ec21b6379af66db19c99867809b20d3f..d67e290d5a74c9a70bd12a3075f43a7430f32346 100755 (executable)
@@ -10,6 +10,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a power cycle of Triggerbox and Beam Monitoring...\"
   cd /home/hadaq/hadesdaq/utils;
   bash Powercycle_Trigger.sh;
+    echo Done
+
   sleep 5
   "
 '
index 2495fbce1ead4924ea9e461700434a113d3a2542..ab843ce74399f94c1157008de8c3da624ebab483 100755 (executable)
@@ -10,6 +10,8 @@ xterm  -e bash --login -c  '
   echo \"Starting a iTOF Padiwa power cycle...\"
   cd /home/hadaq/hadesdaq/utils;
   bash Powercycle_itof_padiwa.sh;
+    echo Done
+
   sleep 5
   "
 '
index 43be6784fb3ad5da0c4262f6554099280e0d585f..81bf2dd1bf9aed23d0dc52201b5afca382c8b950 100755 (executable)
@@ -11,6 +11,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe51
+    echo Done
+
   sleep 5
   "
 '
index ef39dbf0944e9247452c7b017ef542ee22b8f890..c00be30287911bdfb0fdd5b292fb1c7952b251e9 100755 (executable)
@@ -10,6 +10,9 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe71
+  trbcmd reload 0x120
+    echo Done
+
   sleep 10
   "
 '
index b2d0e6ede0bf7f6b20bcf907f5e23dc512a456b7..eab1ef490a5adb4b3f2d5027456dee1bcd9877e6 100755 (executable)
@@ -10,7 +10,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe40
+   echo Done
+
   sleep 10
   "
 '
index 57ab3a3285e40ff0e6956e25fb331b25aed49424..c652349184d8d8cb93c4f6598930b9a9f923e5f3 100755 (executable)
@@ -9,11 +9,9 @@ notifyall.sh "DAQ" "<I> The Hubs are going to be rebooted." "STARTUP" &
 xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
-  #trbcmd reload 0xfe40
-  #trbcmd reload 0xfe61
-  #trbcmd reload 0xfe65
-  #trbcmd reload 0x8000
   trbcmd reload 0xfffe
+    echo Done
+
   sleep 10
   "
 '
index 8c1f34ae33c88de2fdb3bccd0fea4c64af07243d..88283b2e82b02e9dcb7d30cf99f071abf950826b 100755 (executable)
@@ -13,6 +13,9 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   export DAQOPSERVER=hadesp31
   trbcmd reset
   trbcmd reload 0xfe11
+  trbcmd reload 0xfe15
+    echo Done
+
   sleep 8
 '
 
index b91ae1efe556001b180adb4cf28257bbe5b0021c..a54f0cdc941516c8b32a30e2cd75e5319aad7bec 100755 (executable)
@@ -10,6 +10,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe66
+    echo Done
+
   sleep 10
   "
 '
index 7920d46eedd958fab67ea3d7253c2bc0da53574b..33a1c6361d8a3a68a8a9c3ba746987bb09a4917b 100755 (executable)
@@ -15,7 +15,9 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   trbcmd reload 0x84c2
   trbcmd reload 0x84c3
   trbcmd reload 0x84c4
-  trbcmd reload 0x84c5  
+  trbcmd reload 0x84c5
+    echo Done
+
   sleep 10
   "
 '
index 3ca54a7fd16cd8ecbb857fbe253b41a8fd4ffb46..ae816eb7083fc2e5a93b251b9056b16fc07b66b5 100755 (executable)
@@ -10,6 +10,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe61
+  echo Done
 
   sleep 10
   "
index 6fe9c25d1a919b1baf89ec0c39e6cdd88b75132a..fc9183f1ca218d47163bcb039a2f929f29500780 100755 (executable)
@@ -11,6 +11,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe52
+    echo Done
+
   sleep 10
   "
 '
index e79003ef6c4266467b73f5804e494f4c9a132ece..a735314f047f71eb405ded6d002fbb4cf181a90f 100755 (executable)
@@ -10,6 +10,19 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe4c
+  trbcmd reload 0x8890
+  trbcmd reload 0x8b00
+  trbcmd reload 0x8b01
+  trbcmd reload 0x8b02
+  trbcmd reload 0x8b03
+  trbcmd reload 0x8b10
+  trbcmd reload 0x8b11
+  trbcmd reload 0x8b12
+  trbcmd reload 0x8b13
+  trbcmd reload 0x8b14
+  trbcmd reload 0x8b15
+    echo Done
+
   sleep 10
   "
 '
index aeeeb0f9bc019e8650f3e301d701f825ef56234a..03b4418ac63c7f4ec5f60f3576f2a339ea383bec 100755 (executable)
@@ -11,6 +11,10 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe74
   trbcmd reload 0xfe76
+  trbcmd reload 0x8880
+  trbcmd reload 0x8d00
+    echo Done
+
   sleep 10
   "
 '
index 31712dd62ceee7ba1a47db3e13ed21f9375b55d9..d966d2988ac8b9ccbdfae63a339ce93c8a395656 100755 (executable)
@@ -10,6 +10,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   /home/hadaq/trbsoft/daq/nettools/missingipfix.pl
+    echo Done
+
   sleep 10
   "
 '
index 4dda2233e214ca620a36b1b2e80906efaa2c47c0..89b724b48ece693dbb04c238225f1ee8e3b9474d 100755 (executable)
@@ -9,6 +9,7 @@ xterm  -geometry 80x24 -bg orange -fg black -e bash -c '
        sleep 1
        echo "reload the BLR settings"
        command_client.pl -e etraxp107 -c "spi_trbv2_7 /home/hadaq/cts/mult_thresholds/ctsblr_thresholds"
+       echo Done
        sleep 4
 '
 
diff --git a/control/gui/settings/Beam_Abort_Toggle b/control/gui/settings/Beam_Abort_Toggle
new file mode 100755 (executable)
index 0000000..aff6c34
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@hadesp33 "
+  echo \"Toggle beam abort system.\"
+  ssh hadeswrp02 /home/hadaq/bin/toggle_beam_abort.sh
+  echo Done
+  sleep 2
+  "
+'
+
+
+
index 80c687ba6c27f2a08a33af7a65de08bec02caf85..6f463cf0ceadee2f30f48e228434537fa9f517cf 100755 (executable)
@@ -4,7 +4,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   export DAQOPSERVER=hadesp31
   echo \"  <Start> Setting Thresholds...\"
-  cd /home/hadaq/trbsoft/hadesdaq/hodo/thresholds/
+  cd /home/hadaq/trbsoft/hadesdaq/hodo/
   ./set_threshold_hodo.sh
   echo \"Done\"
   sleep 10
index 5a741e5dc6d899efe910d61acfc3189b55e61d45..d3b95da11180763aafe6cb248d8073f9b33464ea 100755 (executable)
@@ -9,8 +9,6 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c '
   echo Reloading fRPC thresholds
   cd /home/hadaq/trbsoft/hadesdaq/frpc/
   /home/hadaq/trbsoft/daq/frpc/setThreshold.sh
-
+  echo Done
   sleep 5
 '
-
-notifyall.sh "DAQ" "<I> RPC-Thresholds have been reloaded." "RPC" &