]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
new control gui scripts
authorhadaq <jan@lxhadeb07>
Tue, 1 Feb 2022 23:10:07 +0000 (00:10 +0100)
committerhadaq <jan@lxhadeb07>
Tue, 1 Feb 2022 23:10:07 +0000 (00:10 +0100)
48 files changed:
control/gui/Buttons2.pm
control/gui/daq/40_ReSync_OEP [moved from control/gui/daq/40_ReSync_Missing_OEP with 100% similarity]
control/gui/eb/29_BEAM_Files
control/gui/eb/50_COSMICS_Files
control/gui/eb/52_TEST_File
control/gui/eb/55_NO_FILE
control/gui/eb/70_Set_1_EB
control/gui/eb/74_Set_5_EB
control/gui/eb/77_Set_10_EB
control/gui/eb/78_Set_15_EB
control/gui/expert/30_Start_TDC_Caltest [new file with mode: 0755]
control/gui/expert/31_Stop_TDC_Caltest [new file with mode: 0755]
control/gui/expert/65_____Stop_EB
control/gui/expert/Reset_Beamabort_Error [new file with mode: 0755]
control/gui/expert/Restart_Hmon
control/gui/expert/Start_Speech_Output
control/gui/expert/Stop_Speech_Output
control/gui/monitor/91_Hmon_Snaphot
control/gui/monitor/91_Hmon_Snaphot.png [new file with mode: 0644]
control/gui/power/ECAL_Padiwa_Powercycle
control/gui/power/Hodo_Powercycle [new file with mode: 0755]
control/gui/power/RICH_Powercycle
control/gui/power/STS_Fee_Powercycle [new file with mode: 0755]
control/gui/power/STS_fRPC_Powercycle
control/gui/power/Start_Powercycle
control/gui/power/Triggerbox_Beam_Powercycle [new file with mode: 0755]
control/gui/power/iTOF_Padiwa_Powercycle [new file with mode: 0755]
control/gui/power/old/00_Powercycle_all [moved from control/gui/power/00_Powercycle_all with 93% similarity]
control/gui/power/old/RPC_special_PwrCyc [moved from control/gui/power/RPC_special_PwrCyc with 100% similarity]
control/gui/reboot/50_Reboot_Dirich [moved from control/gui/daq/50_Reboot_Dirich with 89% similarity]
control/gui/reboot/50_Reboot_Ecal [moved from control/gui/daq/50_Reboot_Ecal with 55% similarity]
control/gui/reboot/50_Reboot_Hubs [new file with mode: 0755]
control/gui/reboot/50_Reboot_MDC_Hub [moved from control/gui/daq/35_Reboot_MDCHub with 100% similarity]
control/gui/reboot/50_Reboot_RPC [new file with mode: 0755]
control/gui/reboot/50_Reboot_Rich_Combiner [moved from control/gui/daq/50_Reboot_Rich_Combiner with 100% similarity]
control/gui/reboot/50_Reboot_STS_Hodo [new file with mode: 0755]
control/gui/reboot/50_Reboot_Start_iTOF [moved from control/gui/daq/50_Reboot_CentralHubs with 55% similarity]
control/gui/reboot/50_Reboot_TOF_fRPC [new file with mode: 0755]
control/gui/reboot/old/50_Reboot_RICH_Hubs [moved from control/gui/daq/50_Reboot_RICH_Hubs with 100% similarity]
control/gui/settings/Thresholds_ECAL [moved from control/gui/expert/Thresholds_ECAL with 100% similarity]
control/gui/settings/Thresholds_RICH [moved from control/gui/expert/Thresholds_RICH with 100% similarity]
control/gui/settings/Thresholds_RPC_fRPC [moved from control/gui/expert/Thresholds_RPC_fRPC with 100% similarity]
control/gui/settings/Thresholds_STS [moved from control/gui/expert/Thresholds_STS with 74% similarity]
control/gui/settings/Thresholds_Start [moved from control/gui/expert/Thresholds_Start with 83% similarity]
control/gui/settings/Thresholds_TOF [moved from control/gui/expert/Thresholds_TOF with 100% similarity]
control/gui/settings/Thresholds_iTOF [new file with mode: 0755]
control/mdcLVgui/S5/225x
control/mdcLVgui/S5/235x

index 4ced96a2d84e7411b5c2c6e8958f0963a8affb86..97327902c2832711aae757711e839ffdc43bdff5 100644 (file)
@@ -103,9 +103,6 @@ sub NEW {
     my $vl_gb1 = Qt::VBoxLayout( $groupBox_1 );
     $self->{vl_gb1} = $vl_gb1;
     $vl_gb1->setObjectName( "vl_gb1" );
-
-
-
     $horizontalLayout->addWidget( $groupBox_1 );
 
 
@@ -115,33 +112,43 @@ sub NEW {
     my $vl_gb2 = Qt::VBoxLayout( $groupBox_2 );
     $self->{vl_gb2} = $vl_gb2;
     $vl_gb2->setObjectName( "vl_gb2" );
-
     $horizontalLayout->addWidget( $groupBox_2 );
 
+
     my $groupBox_3 = Qt::GroupBox( $centralwidget );
     $self->{groupBox_3} = $groupBox_3;
     $groupBox_3->setObjectName( "groupBox_3" );
     my $vl_gb3 = Qt::VBoxLayout( $groupBox_3 );
     $self->{vl_gb3} = $vl_gb3;
     $vl_gb3->setObjectName( "vl_gb3" );
-
     $horizontalLayout->addWidget( $groupBox_3 );
 
 
+    my $groupBox_6 = Qt::GroupBox( $centralwidget );
+    $self->{groupBox_6} = $groupBox_6;
+    $groupBox_6->setObjectName( "groupBox_6" );
+    my $vl_gb6 = Qt::VBoxLayout( $groupBox_6 );
+    $self->{vl_gb6} = $vl_gb6;
+    $vl_gb6->setObjectName( "vl_gb6" );
+    $horizontalLayout->addWidget( $groupBox_6 );
+
+    my $groupBox_7 = Qt::GroupBox( $centralwidget );
+    $self->{groupBox_7} = $groupBox_7;
+    $groupBox_7->setObjectName( "groupBox_7" );
+    my $vl_gb7 = Qt::VBoxLayout( $groupBox_7 );
+    $self->{vl_gb7} = $vl_gb7;
+    $vl_gb7->setObjectName( "vl_gb7" );
+    $horizontalLayout->addWidget( $groupBox_7 );
 
     my $groupBox_4 = Qt::GroupBox( $centralwidget );
     $self->{groupBox_4} = $groupBox_4;
     $groupBox_4->setObjectName( "groupBox_4" );
-
     #$groupBox_3->setCheckable(1);
     #$groupBox_3->setChecked(0);
     $groupBox_4->hide();
-
-
     my $vl_gb4 = Qt::VBoxLayout( $groupBox_4 );
     $self->{vl_gb4} = $vl_gb4;
     $vl_gb4->setObjectName( "vl_gb4" );
-
     $horizontalLayout->addWidget( $groupBox_4 );
 
 
@@ -151,7 +158,6 @@ sub NEW {
     my $vl_gb5 = Qt::VBoxLayout( $groupBox_5 );
     $self->{vl_gb5} = $vl_gb5;
     $vl_gb5->setObjectName( "vl_gb5" );
-
     $horizontalLayout->addWidget( $groupBox_5 );
 
 
@@ -160,7 +166,6 @@ sub NEW {
     $self->{vl_top} = $vl_top;
     $vl_top->setObjectName( "vl_top" );
     $vl_top->setContentsMargins(0, 0, 0, 0 );
-
     $vl_mw->addLayout($vl_top);
     $vl_mw->addLayout($horizontalLayout);
 
@@ -222,6 +227,12 @@ sub NEW {
     $dir = "eb";
     make_buttons($self, $dir, \$cur_button_number, $groupBox_3, $vl_gb3);
 
+    $dir = "settings";
+    make_buttons($self, $dir, \$cur_button_number, $groupBox_6, $vl_gb6);
+
+    $dir = "reboot";
+    make_buttons($self, $dir, \$cur_button_number, $groupBox_7, $vl_gb7);
+
     $dir = "expert";
     make_buttons($self, $dir, \$cur_button_number, $groupBox_4, $vl_gb4);
 
@@ -249,10 +260,12 @@ sub retranslateUi {
     my ( $self, $mainWindow ) = @_;
     $mainWindow->setWindowTitle( Qt::Application::translate( 'MainWindow', "DAQ-Control", undef, Qt::Application::UnicodeUTF8() ) );
     $self->{groupBox_1}->setTitle( Qt::Application::translate( 'MainWindow', "DAQ-Operator", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{groupBox_2}->setTitle( Qt::Application::translate( 'MainWindow', "Monitor Tools", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{groupBox_3}->setTitle( Qt::Application::translate( 'MainWindow', "Eventbuilder Tools", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{groupBox_4}->setTitle( Qt::Application::translate( 'MainWindow', "Expert Tools", undef, Qt::Application::UnicodeUTF8() ) );
-    $self->{groupBox_5}->setTitle( Qt::Application::translate( 'MainWindow', "Power Tools", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{groupBox_2}->setTitle( Qt::Application::translate( 'MainWindow', "Monitor", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{groupBox_3}->setTitle( Qt::Application::translate( 'MainWindow', "Eventbuilder", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{groupBox_4}->setTitle( Qt::Application::translate( 'MainWindow', "Expert", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{groupBox_5}->setTitle( Qt::Application::translate( 'MainWindow', "Power", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{groupBox_6}->setTitle( Qt::Application::translate( 'MainWindow', "Settings", undef, Qt::Application::UnicodeUTF8() ) );
+    $self->{groupBox_7}->setTitle( Qt::Application::translate( 'MainWindow', "Reboot", undef, Qt::Application::UnicodeUTF8() ) );
 #    $self->{pushButton}->setText( Qt::Application::translate( 'MainWindow', "Quit DAQ-Control", undef, Qt::Application::UnicodeUTF8() ) );
     $self->{checkBox}->setText( Qt::Application::translate( 'MainWindow', "Show Expert Tools", undef, Qt::Application::UnicodeUTF8() ) );
 
@@ -323,7 +336,7 @@ my \$icon$i = Qt::Icon;
 \$icon$i->addPixmap(Qt::Pixmap(\"$icon_path\"), Qt::Icon::Normal(), Qt::Icon::Off() );
 
 \$pb$i->setIcon( \$icon$i );
-\$pb$i->setIconSize( Qt::Size(50, 50) );
+\$pb$i->setIconSize( Qt::Size(40, 40) );
 
 |;
 
index cf2f0ca8ac6138cd52f0244f59b4204578197794..096094ccdc676a3483735ccd84abf1fc25da9603 100755 (executable)
@@ -21,7 +21,7 @@ $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> EBs are going to be changed
 
 
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Setting file prefix be"
   /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb12:8099/Master/BNET/StartRun/execute?prefix=be&oninit=10\"
   echo set prefix te on BNET master controller
index c402517b9e5c6c76e6255fccd6f0aa6c5ae5891e..9c4ff3f5b3629aae462a8f0791d8ba13f3ddbb0b 100755 (executable)
@@ -1,32 +1,17 @@
 #!/bin/bash
 
-# notifyall.sh "DAQ" "<I> Eventbuilders are being restarted." "EB" &
-
-# ssh -X hadaq@lxhadesdaq "
-#  xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-#   echo "Starting Eventbuilders  with prefix co"
-#   cd ~/trbsoft/hadesdaq/evtbuild/
-#   ./start_eb_gbe.pl -e restart -n 1-16  -d on -p co
-#    /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix=co&oninit=10\" 
-#   echo set prefix CO on BNET master controller
-#   sleep 2
-#   
-#   '
-#  "
-#/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing Cosmics Files" "EB" &
-
 export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "change the EBs to Cosmic Files")
 if [ $myvar == "256" ]; then exit; fi                            
 
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> EBs are going to be changed to write cosmic files." "EB" &
 
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-   ssh -X hadaq@lxhadesdaqp "
-   echo "Setting file prefix co"
-   /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb12:8099/Master/BNET/StartRun/execute?prefix=co&oninit=10\"
-   echo set prefix te on BNET master controller
-   sleep 2 
+  ssh hadaq@lxhadesdaqp "
+  echo "Setting file prefix co"
+  /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb12:8099/Master/BNET/StartRun/execute?prefix=co&oninit=10\"
+  echo set prefix te on BNET master controller
+  sleep 2 
   "
 '
- $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are writing Cosmics Files." "EB" &
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are writing Cosmics Files." "EB" &
 
index 697972be34a3db5de19053d18ee445ddf1a2fb5a..0dab9d1a8458cb7dc4caf09702cc4229d132229d 100755 (executable)
@@ -1,27 +1,12 @@
 #!/bin/bash
 
-# notifyall.sh "DAQ" "<I> Eventbuilders are being restarted." "EB" &
-
-# ssh -X hadaq@lxhadesdaq "
-#  xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-#   echo "Starting Eventbuilders  with prefix te"
-#   cd ~/trbsoft/hadesdaq/evtbuild/
-#   ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te 
-#   /usr/bin/wget  -a /tmp/EB_filestart.log  -O /tmp/EB_fileres.txt \"http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix=te&oninit=10\"
-#   echo set prefix te on BNET master controller
-#   sleep 2
-#  '
-#  "
-# 
-# /home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing test files" "EB" &
-
 export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "change the EBs to Test Files")
 if [ $myvar == "256" ]; then exit; fi                            
 
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> EBs are going to be changed to write test files." "EB" &
 
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Setting file prefix te"
   /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb12:8099/Master/BNET/StartRun/execute?prefix=te&oninit=10\"
   echo set prefix te on BNET master controller
index ed6cdb2a998d89d81619bc9cd009d83e8eb0214a..5b32ab17afa6ecb1c58fa813fa7a5e84f8074786 100755 (executable)
@@ -1,29 +1,18 @@
 #!/bin/bash
 
-# notifyall.sh "DAQ" "<I> Eventbuilders are being restarted." "EB" &
-
-# ssh -X hadaq@lxhadesdaq "
-#  xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-#   echo "Starting Eventbuilder , writing NO FILES"
-#   cd ~/trbsoft/hadesdaq/evtbuild/
-#   ./start_eb_gbe.pl -e restart  -n 1-16 -d on -p te
-#     /usr/bin/wget  -a /tmp/EB_filestart.log  -O /tmp/EB_fileres.txt \"http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix='--'&oninit=10\"
-# 
-#  '
-# "
-# /home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. NO FILES are being written" "EB" &
-
 export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "change the EBs to \"No-Files\"")
 if [ $myvar == "256" ]; then exit; fi                            
 
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> EBs are going to be changed to write no files." "EB" &
 
-ssh -X hadaq@lxhadesdaq " xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-   echo "Setting file prefix --n NO FILES"
-   /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb12:8099/Master/BNET/StartRun/execute?prefix='--'&oninit=10\"
-   echo set prefix -- on BNET master controller
-   sleep 2 
- '
-"
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaq " 
+  echo "Setting file prefix --n NO FILES"
+  /usr/bin/wget  -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt \"http://lxhadeb12:8099/Master/BNET/StartRun/execute?prefix='--'&oninit=10\"
+  echo set prefix -- on BNET master controller
+  sleep 2 
+  "
+'
+
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are writing NO FILES." "EB" &
 
index ae1fec6f90e5675a713ad46c183a5b2a2c7964a2..450b83dd81981455f4dcfe7eedb9ea81ec8c273b 100755 (executable)
@@ -7,10 +7,8 @@ if [ $myvar == "256" ]; then exit; fi
 
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with only one builder node." "EB" &
 
-
-
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Starting Eventbuilders  with one BNET builder node"
   cd ~/trbsoft/hadesdaq/evtbuild/
   ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 1
index 2ecf86045b9bb7a85bb23e7c363a8c9821eb002d..c717e1f25b08d7696d341abba8bd07e477d3bb24 100755 (executable)
@@ -8,7 +8,7 @@ if [ $myvar == "256" ]; then exit; fi
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with 5 builder nodes." "EB" &
 
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Starting Eventbuilders  with 5 BNET builder nodes"
   cd ~/trbsoft/hadesdaq/evtbuild/
   ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 5
index 936af404cabd96c01d871141442043733172d739..af979db5b36db5b48a7596ce40d850fab404e13c 100755 (executable)
@@ -8,7 +8,7 @@ if [ $myvar == "256" ]; then exit; fi
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with 10 builder nodes." "EB" &
 
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Starting Eventbuilders  with 10 BNET builder nodes"
   cd ~/trbsoft/hadesdaq/evtbuild/
   ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 10
index 7063d430665882e87b1a7e2a8b8af0aa193adb70..3f46e6961f6bd7a4fad07e9d9385b78ad2fecbb6 100755 (executable)
@@ -7,9 +7,8 @@ if [ $myvar == "256" ]; then exit; fi
 
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with 15 builder nodes." "EB" &
 
-
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Starting Eventbuilders  with 12 BNET builder nodes"
   cd ~/trbsoft/hadesdaq/evtbuild/
   ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 15
diff --git a/control/gui/expert/30_Start_TDC_Caltest b/control/gui/expert/30_Start_TDC_Caltest
new file mode 100755 (executable)
index 0000000..ca105dd
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+# 100Hz -> 2e6 pulservalue = 0x1E8480
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "start TDC calibration test file")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> TDC-Calibration testfile is started." "STARTUP" &
+
+
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaqp "
+  /home/hadaq/trbsoft/hadesdaq/evtbuild/tdc_test_start.sh
+  "
+'
+
+/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have started TDC-Calibration test file." "EB" &
+
diff --git a/control/gui/expert/31_Stop_TDC_Caltest b/control/gui/expert/31_Stop_TDC_Caltest
new file mode 100755 (executable)
index 0000000..225253c
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "stop the TDC calibration test")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> TDC-Calibration testfiles on eventbuilders are going to be stopped." "STARTUP" &
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaqp "
+  /home/hadaq/trbsoft/hadesdaq/evtbuild/tdc_test_stop.sh
+  sleep 30;
+   "
+'
+  
+/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have stopped TDC-Calibration test." "EB" &
+
index 013c3b448748bd6686628930909179fe56c1af08..82f6b416f8dbcf0d25c5d03dff0e0a724e832033 100755 (executable)
@@ -7,10 +7,8 @@ if [ $myvar == "256" ]; then exit; fi
 
 $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being stopped." "EB" &
 
-
-
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@lxhadesdaqp "
+  ssh hadaq@lxhadesdaqp "
   echo "Stopping Eventbuilder 1 - 16"
   cd ~/trbsoft/hadesdaq/evtbuild/
   ./start_eb_gbe.pl -e stop -n 1-16
diff --git a/control/gui/expert/Reset_Beamabort_Error b/control/gui/expert/Reset_Beamabort_Error
new file mode 100755 (executable)
index 0000000..d0f0ddd
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh
+
index 8be126f3fbd01e765be0dd7f8e58e995e7109d67..8bdb8acd8a78614d6d2db5ac00905d83eb1f7486 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 xterm -geometry 80x24 -bg orange -fg black -e bash -c '
-  ssh -X hadaq@hadesp33 "
+  ssh hadaq@hadesp33 "
   echo Re-starting Hmon
   cd ~/trbsoft/hadesdaq/hmon/
   ./stopall.sh
index 816fa2f709792e6ae5129c85e5f35b37580ed1a5..62d429f58e326831fd4571040b435a38bf8a1c43 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 ssh hadaq@hadesp57 "killall -USR2 speakdaemon.pl"
-ssh hadaq@hades33 "killall -USR2 speakdaemon.pl"
+ssh hadaq@hadesp33 "killall -USR2 speakdaemon.pl"
 
 
 
index 55165b74e5063240fd1cd14f606c50cc0fac30f0..2b102042733bec3157b06e8831118daa159ccb17 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-ssh hadaq@hades33 "killall -USR1 speakdaemon.pl"
+ssh hadaq@hadesp33 "killall -USR1 speakdaemon.pl"
 
 ssh hadaq@hadesp57 "killall -USR1 speakdaemon.pl; pkill -f espeak"
 
index b09aa2d2b5ece57eee928b4b3fde049efe8c3f79..72e3962b8ecf1c4f5640a8181d14f17b4dd80de0 100755 (executable)
@@ -2,6 +2,6 @@
 
 #ssh -X -l scs lxhadeb06 '. /home/scs/.profile; medm -x hades.adl' 
 xterm -geometry 80x24 -bg green -fg black -e bash -c "
-  ssh -X hadaq@hades33 'cd /home/hadaq/trbsoft/daq/hmon; PERL5LIB=. perl ./permanent/hmon_archiver.pl once'
+  ssh hadaq@hadesp33 'cd /home/hadaq/trbsoft/daq/hmon; PERL5LIB=. perl ./permanent/hmon_archiver.pl once'
   sleep 1000
   ";
diff --git a/control/gui/monitor/91_Hmon_Snaphot.png b/control/gui/monitor/91_Hmon_Snaphot.png
new file mode 100644 (file)
index 0000000..c72e754
Binary files /dev/null and b/control/gui/monitor/91_Hmon_Snaphot.png differ
index f696d16c2c70dd55d3713e9fc52e1bfac50f93f3..f53d9233588d9c258ac6e86e4fe6182bf1be6a8d 100755 (executable)
@@ -3,7 +3,14 @@
 export myvar=$(doyoureallywant.pl "to make a ECAL Padiwa 5V powercycle? There will be no further warnings!")
 if [ $myvar == "256" ]; then exit; fi
 
-xterm -e "
-cd ../../../../hadesdaq/utils;
-./ECAL_LV5_Powercycle.sh;
+
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  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;
+  sleep 5
 "
+'
diff --git a/control/gui/power/Hodo_Powercycle b/control/gui/power/Hodo_Powercycle
new file mode 100755 (executable)
index 0000000..61de00f
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+export myvar=$(doyoureallywant.pl "to powercycle the Hodo detector?")
+if [ $myvar == "256" ]; then exit; fi
+
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  echo \"Starting a Hodoscope power cycle...\"
+  cd /home/hadaq/hadesdaq/utils;
+  bash Powercycle_Hodo.sh;
+  sleep 5
+  "
+'
index 54859fa3eda05870c2c0636478342d9f953526ed..72e8d6eb033a7aeec77f6eecceade3c3a5d51d0e 100755 (executable)
@@ -6,12 +6,9 @@ if [ $myvar == "256" ]; then exit; fi
 xterm  -e bash --login -c  '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile        
-#  export DAQOPSERVER=hadesp31
   echo \"Starting a RICH power cycle...\"
-  cd /home/hadaq/hadesdaq/utils;
+  cd /home/hadaq/trbsoft/hadesdaq/utils;
   PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./RICH_Powercycle.pl;
   sleep 5
- # /home/hadaq/trbsoft/hadesdaq/utils/RICH_Thr_Call.sh --loading-file /home/hadaq/hadesdaq/rich/trb_dirich_threshold/threshold_files/standard_baselines.thr -l 0 -t 0 50
- # sleep 5
   "
 '
diff --git a/control/gui/power/STS_Fee_Powercycle b/control/gui/power/STS_Fee_Powercycle
new file mode 100755 (executable)
index 0000000..7488048
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+export myvar=$(doyoureallywant.pl "to make a STS Pasttrec powercycle? ")
+if [ $myvar == "256" ]; then exit; fi
+
+
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  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;
+  sleep 5
+"
+'
index 084c158f4ae99537dbbb309016a6345254fec4e7..2739a01f53465ffa5042397de360b1983bd31fbe 100755 (executable)
@@ -10,5 +10,8 @@ xterm  -e bash --login -c  '
   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
+  sleep 5
 "
 '
index 81ea82cf995587387ca6629d1453daa2de7252cc..952ff4b55cbb1655a210f50728fa52a8d44abed5 100755 (executable)
@@ -3,8 +3,13 @@
 export myvar=$(doyoureallywant.pl "to powercycle the Start detector?")
 if [ $myvar == "256" ]; then exit; fi
 
-xterm -e "
-cd ../../../../hadesdaq/utils;
-./odroid_HMP_Powercycle.sh odroid1 /dev/HAMEG_HAMEG_HO720_020546031;
-sleep 5
-"
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  echo \"Starting a Start power cycle...\"
+  cd /home/hadaq/hadesdaq/utils;
+  bash Powercycle_Start.sh;
+  sleep 5
+  "
+'
diff --git a/control/gui/power/Triggerbox_Beam_Powercycle b/control/gui/power/Triggerbox_Beam_Powercycle
new file mode 100755 (executable)
index 0000000..5f866f1
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+export myvar=$(doyoureallywant.pl "to powercycle the Triggerbox and Beam Monitoring?")
+if [ $myvar == "256" ]; then exit; fi
+
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  echo \"Starting a power cycle of Triggerbox and Beam Monitoring...\"
+  cd /home/hadaq/hadesdaq/utils;
+  bash Powercycle_Trigger.sh;
+  sleep 5
+  "
+'
diff --git a/control/gui/power/iTOF_Padiwa_Powercycle b/control/gui/power/iTOF_Padiwa_Powercycle
new file mode 100755 (executable)
index 0000000..10ad6f3
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+export myvar=$(doyoureallywant.pl "to powercycle the Start detector?")
+if [ $myvar == "256" ]; then exit; fi
+
+
+xterm  -e bash --login -c  '
+  ssh hadaq@lxhadesdaqp "
+  source /home/hadaq/.bash_profile        
+  echo \"Starting a Start power cycle...\"
+  cd /home/hadaq/hadesdaq/utils;
+  bash Powercycle_itof_padiwa.sh;
+  sleep 5
+  "
+'
similarity index 93%
rename from control/gui/power/00_Powercycle_all
rename to control/gui/power/old/00_Powercycle_all
index a7ce529f324e8e2013aec53593b98dda489e5551..5d81100bcca59e5a919b3b234310f89545438f70 100755 (executable)
@@ -6,7 +6,7 @@ if [ $myvar == "256" ]; then exit; fi
 xterm  -e bash --login -c  '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
-  echo \'Starting power cycle...\'
+  echo "Starting power cycle..."
 
   cd /home/hadaq/hadesdaq/utils;
   export PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl
@@ -18,3 +18,4 @@ xterm  -e bash --login -c  '
   ./MdcTofCentral_Powercycle.pl
 sleep 5
 "
+'
similarity index 89%
rename from control/gui/daq/50_Reboot_Dirich
rename to control/gui/reboot/50_Reboot_Dirich
index dd899c1ba869f55a7f1f3599b1e19b4eb184b2c7..43be6784fb3ad5da0c4262f6554099280e0d585f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the TRB3s in the system")
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the DiRich in the system")
 if [ $myvar == "256" ]; then exit; fi
 
 #notifyall.sh "DAQ" "<I> The TRB3 in the system are going to be rebooted." "STARTUP" &
@@ -11,7 +11,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   source /home/hadaq/.bash_profile
   trbcmd reload 0xfe51
-  sleep 10
+  sleep 5
   "
 '
 
similarity index 55%
rename from control/gui/daq/50_Reboot_Ecal
rename to control/gui/reboot/50_Reboot_Ecal
index a112eae08ec7612b6e61f2939b9b1699519f342d..ef39dbf0944e9247452c7b017ef542ee22b8f890 100755 (executable)
@@ -1,19 +1,17 @@
 #!/bin/bash
 
-export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the TRB3s in the system")
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the ECal TDCs in the system")
 if [ $myvar == "256" ]; then exit; fi
 
-notifyall.sh "DAQ" "<I> The TRB3 in the system are going to be rebooted." "STARTUP" &
+notifyall.sh "DAQ" "<I> The ECal TDCs in the system 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 0xfe71
-  trbcmd reload 0xfe61
   sleep 10
   "
 '
 
-notifyall.sh "DAQ" "<I> The ECal TRB3sc are going to be rebooted." "STARTUP" &
 
diff --git a/control/gui/reboot/50_Reboot_Hubs b/control/gui/reboot/50_Reboot_Hubs
new file mode 100755 (executable)
index 0000000..57ab3a3
--- /dev/null
@@ -0,0 +1,21 @@
+#!/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
+  #trbcmd reload 0xfe61
+  #trbcmd reload 0xfe65
+  #trbcmd reload 0x8000
+  trbcmd reload 0xfffe
+  sleep 10
+  "
+'
+
+
diff --git a/control/gui/reboot/50_Reboot_RPC b/control/gui/reboot/50_Reboot_RPC
new file mode 100755 (executable)
index 0000000..e47a6f3
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TDCs of RPC in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The TDCs of RPC 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 0xfe73
+  sleep 10
+  "
+'
+
+
diff --git a/control/gui/reboot/50_Reboot_STS_Hodo b/control/gui/reboot/50_Reboot_STS_Hodo
new file mode 100755 (executable)
index 0000000..e79003e
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TDCs of STS HODO in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The TDCs of STS HODO 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 0xfe4c
+  sleep 10
+  "
+'
+
+
similarity index 55%
rename from control/gui/daq/50_Reboot_CentralHubs
rename to control/gui/reboot/50_Reboot_Start_iTOF
index 33d2bffee861da76ae2fca9207bd0f6d5df695df..aeeeb0f9bc019e8650f3e301d701f825ef56234a 100755 (executable)
@@ -1,19 +1,18 @@
 #!/bin/bash
 
-export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the TRB3s in the system")
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TDCs of Start iTOF in the system")
 if [ $myvar == "256" ]; then exit; fi
 
-notifyall.sh "DAQ" "<I> The TRB3 in the system are going to be rebooted." "STARTUP" &
+notifyall.sh "DAQ" "<I> The TDCs of Start iTOF 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 0xfe65
-  trbcmd reload 0x8000
+  trbcmd reload 0xfe74
+  trbcmd reload 0xfe76
   sleep 10
   "
 '
 
-notifyall.sh "DAQ" "<I> The Central Hubs are going to be rebooted." "STARTUP" &
 
diff --git a/control/gui/reboot/50_Reboot_TOF_fRPC b/control/gui/reboot/50_Reboot_TOF_fRPC
new file mode 100755 (executable)
index 0000000..d01418b
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TDCs of TOF fRPC FW in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The TDCs of TOF fRPC FW 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 0xfe47
+  sleep 10
+  "
+'
+
+
similarity index 74%
rename from control/gui/expert/Thresholds_STS
rename to control/gui/settings/Thresholds_STS
index de0aacbce0fa63028e780bf8ea76b5708d357329..3f301bd30b426731ceb54d6dda30f39be885cc62 100755 (executable)
@@ -9,8 +9,6 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   echo \"  <STS_Thr> Setting Thresholds...\"
   cd /home/hadaq/trbsoft/hadesdaq/sts 
   
-  /home/hadaq/trbsoft/hadesdaq/sts/settings/reset_asics_sts1.sh
-  /home/hadaq/trbsoft/hadesdaq/sts/settings/reset_asics_sts2.sh
   /home/hadaq/trbsoft/hadesdaq/sts/settings/set_config_sts1.sh
   /home/hadaq/trbsoft/hadesdaq/sts/settings/set_config_sts2.sh
   
@@ -19,3 +17,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
 "
 '
 
+# do not do reset each time, do it in the LV powercycle script
+#  /home/hadaq/trbsoft/hadesdaq/sts/settings/reset_asics_sts1.sh
+#  /home/hadaq/trbsoft/hadesdaq/sts/settings/reset_asics_sts2.sh
similarity index 83%
rename from control/gui/expert/Thresholds_Start
rename to control/gui/settings/Thresholds_Start
index b9d0a00bf0a5e12aef1af55953adee786f2d09ca..c8495863923e4e0fb934284bb4021597e438cb70 100755 (executable)
@@ -3,7 +3,7 @@
 xterm -geometry 80x24 -bg orange -fg black -e bash --login -c '
   ssh hadaq@lxhadesdaqp "
   export DAQOPSERVER=hadesp31
-  echo \"  <TOF_Thr> Setting Thresholds...\"
+  echo \"  <Start> Setting Thresholds...\"
   cd /home/hadaq/trbsoft/hadesdaq/start
   ./set_threshold_start.sh
   echo \"Done\"
diff --git a/control/gui/settings/Thresholds_iTOF b/control/gui/settings/Thresholds_iTOF
new file mode 100755 (executable)
index 0000000..fd7464d
--- /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/itof
+  ./set_threshold_itof.sh
+  echo \"Done\"
+  sleep 10
+"
+'
+
index 3fe734a50f7922c66ee6e74f8f19f6f8272e5e41..3d946a919db41093e7ebd65fb79bc92642634958 100755 (executable)
@@ -9,6 +9,7 @@ xterm  -e bash --login -c  '
 PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
 cd ~/trbsoft/hadesdaq/utils && ./MDC_Powercycle_2PSx.pl -P 3 -S 6
+cd ~/trbsoft/hadesdaq/utils && ./MDC_Powercycle_2PSx.pl -P 4 -S 6
 
   sleep 1
 "
index 06909a36ab4cabc63743eb52ecbe0fd01ad2f9c5..4cd57b720398721512dda08b83904992d22a3e63 100755 (executable)
@@ -9,6 +9,7 @@ xterm  -e bash --login -c  '
 PERLLIB=\${EPICS_BASE}lib/perl:~/trbsoft/hadesdaq/nettools:~/trbsoft/daqtools/perllibs
 
 cd ~/trbsoft/hadesdaq/utils && ./MDC_Powercycle_2PSx.pl -P 4 -S 6
+cd ~/trbsoft/hadesdaq/utils && ./MDC_Powercycle_2PSx.pl -P 3 -S 6
 
   sleep 1
 "