my $vl_gb1 = Qt::VBoxLayout( $groupBox_1 );
$self->{vl_gb1} = $vl_gb1;
$vl_gb1->setObjectName( "vl_gb1" );
-
-
-
$horizontalLayout->addWidget( $groupBox_1 );
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 );
my $vl_gb5 = Qt::VBoxLayout( $groupBox_5 );
$self->{vl_gb5} = $vl_gb5;
$vl_gb5->setObjectName( "vl_gb5" );
-
$horizontalLayout->addWidget( $groupBox_5 );
$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);
$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);
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() ) );
\$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) );
|;
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
#!/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" &
#!/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
#!/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" &
$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
$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
$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
$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
--- /dev/null
+#!/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" &
+
--- /dev/null
+#!/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" &
+
$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
--- /dev/null
+#!/bin/bash
+
+ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh
+
#!/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
#!/bin/bash
ssh hadaq@hadesp57 "killall -USR2 speakdaemon.pl"
-ssh hadaq@hades33 "killall -USR2 speakdaemon.pl"
+ssh hadaq@hadesp33 "killall -USR2 speakdaemon.pl"
#!/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"
#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
";
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
"
+'
--- /dev/null
+#!/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
+ "
+'
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
"
'
--- /dev/null
+#!/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
+"
+'
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
"
'
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
+ "
+'
--- /dev/null
+#!/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
+ "
+'
--- /dev/null
+#!/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
+ "
+'
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
./MdcTofCentral_Powercycle.pl
sleep 5
"
+'
#!/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" &
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe51
- sleep 10
+ sleep 5
"
'
#!/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" &
--- /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 0xfe40
+ #trbcmd reload 0xfe61
+ #trbcmd reload 0xfe65
+ #trbcmd reload 0x8000
+ trbcmd reload 0xfffe
+ 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
+ sleep 10
+ "
+'
+
+
--- /dev/null
+#!/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
+ "
+'
+
+
#!/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" &
--- /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
+ sleep 10
+ "
+'
+
+
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
"
'
+# 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
+
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\"
--- /dev/null
+#!/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
+"
+'
+
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
"
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
"