+++ /dev/null
-#!/bin/bash
-
-export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the TRB3s in the system")
-if [ $myvar == "256" ]; then exit; fi
-
-notifyall.sh "DAQ" "<I> The TRB3 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
- ~/trbsoft/hadesdaq/nettools/reboot_TRB3.pl
- sleep 10
- "
-'
-
-notifyall.sh "DAQ" "<I> The TRB3 in the system are going to be rebooted." "STARTUP" &
-
$dir = "reboot";
make_buttons($self, $dir, \$cur_button_number, $groupBox_7, $vl_gb7);
- $dir = "expert";
+ $dir = "power";
make_buttons($self, $dir, \$cur_button_number, $groupBox_4, $vl_gb4);
- $dir = "power";
+ $dir = "expert";
make_buttons($self, $dir, \$cur_button_number, $groupBox_5, $vl_gb5);
+
#print "cur_button: $cur_button_number\n";
#$layoutWidget->updateGeometry();
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", undef, Qt::Application::UnicodeUTF8() ) );
+ $self->{groupBox_1}->setTitle( Qt::Application::translate( 'MainWindow', "DAQ Operation", undef, Qt::Application::UnicodeUTF8() ) );
+ $self->{groupBox_2}->setTitle( Qt::Application::translate( 'MainWindow', "Monitoring", 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_4}->setTitle( Qt::Application::translate( 'MainWindow', "Power", undef, Qt::Application::UnicodeUTF8() ) );
+ $self->{groupBox_5}->setTitle( Qt::Application::translate( 'MainWindow', "Expert", 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() ) );
#!/bin/bash
-vncviewer --shared -passwd ~/.vnc/passwd hades30:1 &
+vncviewer --shared -passwd ~/.vnc/passwd hades70:1 &
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the ECal boards in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The ECal boards 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 0x120
+
+cd ~/trbsoft/trbnettools/binlocal
+TRB3_SERVER=trb3sc134 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc009 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc130 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc128 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc131 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc129 ./trbcmd reload 0xffff
+
+ echo Done
+
+ sleep 10
+ "
+'
+
+
#!/bin/bash
-export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot the ECal TDCs in the system")
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot auxiliary boards in the system")
if [ $myvar == "256" ]; then exit; fi
-notifyall.sh "DAQ" "<I> The ECal TDCs in the system are going to be rebooted." "STARTUP" &
+notifyall.sh "DAQ" "<I> Auxiliary boards 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 0x120
+
+# trbcmd reload 0x8d00
+ trbcmd reload 0x0010
+ trbcmd reload 0x0100
+ trbcmd reload 0x0110
+ trbcmd reload 0x0120
+ trbcmd reload 0x0130
echo Done
sleep 10
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot central HUBs in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The central 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 0xfffe
+
+trbcmd reload 0x8011
+trbcmd reload 0x8013
+trbcmd reload 0x8014
+trbcmd reload 0x8015
+trbcmd reload 0x8016
+trbcmd reload 0x8017
+trbcmd reload 0x8018
+
+trbcmd reload 0x8800
+trbcmd reload 0x8810
+
+trbcmd reload 0x8000
+ echo Done
+
+ sleep 10
+ "
+'
+
+
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot all RICH boards in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The RICH boards 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
+cd ~/trbsoft/trbnettools/binlocal
+
+TRB3_SERVER=trb3sc136 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc158 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc144 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc139 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc163 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc153 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc164 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc166 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc137 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc138 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc162 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc141 ./trbcmd reload 0xffff
+
+ echo "Done - Do a DAQ restart!"
+ sleep 10
+ "
+'
+
+
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot RPC boards in the system")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The RPC boards 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
+
+
+cd ~/trbsoft/trbnettools/binlocal
+TRB3_SERVER=trb3sc317 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc319 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc320 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc315 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc318 ./trbcmd reload 0xffff
+TRB3_SERVER=trb3sc316 ./trbcmd reload 0xffff
+
+
+
+ echo Done
+
+ sleep 10
+ "
+'
+
+
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe74
- trbcmd reload 0xfe76
+# trbcmd reload 0xfe76
trbcmd reload 0x8880
- trbcmd reload 0x8d00
+# trbcmd reload 0x8d00
echo Done
sleep 10
--- /dev/null
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TOF and FW ")
+if [ $myvar == "256" ]; then exit; fi
+
+notifyall.sh "DAQ" "<I> The boards of TOF and 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
+# trbcmd reload 0x86c0
+# trbcmd reload 0x86c1
+# trbcmd reload 0x86c2
+# trbcmd reload 0x86c3
+# trbcmd reload 0x86c4
+# trbcmd reload 0x86c5
+# trbcmd reload 0x8c00
+# trbcmd reload 0x8c10
+# trbcmd reload 0x8c20
+cd ~/trbsoft/trbnettools/binlocal
+
+TRB3_SERVER=trbp088 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp263 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp006 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp262 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp265 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp242 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp074 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp267 ./trbcmd reload 0xffff
+TRB3_SERVER=trbp266 ./trbcmd reload 0xffff
+
+ echo "Done - Do a DAQ restart!"
+ sleep 10
+ "
+'
+
+
+++ /dev/null
-#!/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 0xfffe
- echo Done
-
- sleep 10
- "
-'
-
-
+++ /dev/null
-#!/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
- trbcmd reload 0x84c0
- trbcmd reload 0x84c1
- trbcmd reload 0x84c2
- trbcmd reload 0x84c3
- trbcmd reload 0x84c4
- trbcmd reload 0x84c5
- echo Done
-
- sleep 10
- "
-'
-
-
+++ /dev/null
-#!/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
- trbcmd reload 0x86c0
- trbcmd reload 0x86c1
- trbcmd reload 0x86c2
- trbcmd reload 0x86c3
- trbcmd reload 0x86c4
- trbcmd reload 0x86c5
-# trbcmd reload 0x8c00
-# trbcmd reload 0x8c10
- echo Done
- sleep 10
- "
-'
-
-