]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
update control gui
authorhadaq <jan@lxhadeb07>
Thu, 3 Feb 2022 22:46:49 +0000 (23:46 +0100)
committerhadaq <jan@lxhadeb07>
Thu, 3 Feb 2022 22:46:49 +0000 (23:46 +0100)
control/gui/expert/Reset_Beamabort_Error
control/gui/reboot/50_Reboot_FD_TOF_Ho_Hubs [new file with mode: 0644]
control/gui/reboot/50_Reboot_RICH_Hubs [moved from control/gui/reboot/old/50_Reboot_RICH_Hubs with 100% similarity]
control/gui/reboot/50_Reboot_Ri_RPC_EC_iT_Hubs [new file with mode: 0644]
control/gui/reboot/99_Fix_Missing_IP [new file with mode: 0755]
control/gui/settings/Thresholds_ECAL
control/gui/settings/Thresholds_HODO [new file with mode: 0755]

index d0f0ddd5b67d987afd082fd10c117ecf9c9a8527..35e2e64b27e2c942c20ebb5d205721bd38a5cf75 100755 (executable)
@@ -1,4 +1,13 @@
 #!/bin/bash
 
-ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@hadesp33 "
+  echo Removing Error Flag
+  ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh
+  echo Done
+  sleep 5
+  "
+'
+
+
 
diff --git a/control/gui/reboot/50_Reboot_FD_TOF_Ho_Hubs b/control/gui/reboot/50_Reboot_FD_TOF_Ho_Hubs
new file mode 100644 (file)
index 0000000..e7a53c1
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all HUBs in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+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
+  sleep 10
+  "
+'
+
+
diff --git a/control/gui/reboot/50_Reboot_Ri_RPC_EC_iT_Hubs b/control/gui/reboot/50_Reboot_Ri_RPC_EC_iT_Hubs
new file mode 100644 (file)
index 0000000..3ca54a7
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all HUBs in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+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 0xfe61
+
+  sleep 10
+  "
+'
+
+
diff --git a/control/gui/reboot/99_Fix_Missing_IP b/control/gui/reboot/99_Fix_Missing_IP
new file mode 100755 (executable)
index 0000000..31712dd
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all HUBs that miss their IP")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The Hubs without Ethernet 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
+  /home/hadaq/trbsoft/daq/nettools/missingipfix.pl
+  sleep 10
+  "
+'
+
+
index dc182f2128d9f32278a8d6f49cf0f3eb9e0af776..99893ce74af79af029dbe51474796e92f80dbf35 100755 (executable)
@@ -10,6 +10,8 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadesp33 \"pkill -f ./hmon_ecal_recover_dead_slow_channels.pl\"
   cd /home/hadaq/trbsoft/hadesdaq/ecal/
   ./ecal_set_thresholds.pl
+  #echo \"set thresholds for sec2 and sec4\"
+  #./ecal_set_thresholds_sec2_sec4.pl
   echo \"Done\"
   tmux new-session -d -s \"ecal_recover_dead_channels\" \"cd ~/trbsoft/hadesdaq/hmon/; export PERL5LIB=.; ./hmon_ecal_recover_dead_slow_channels.pl\"
   sleep 10
diff --git a/control/gui/settings/Thresholds_HODO b/control/gui/settings/Thresholds_HODO
new file mode 100755 (executable)
index 0000000..80c687b
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+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/
+  ./set_threshold_hodo.sh
+  echo \"Done\"
+  sleep 10
+"
+'
+