From 6fed09abb85753a0279d06244df4ccdbd181a276 Mon Sep 17 00:00:00 2001 From: hadaq Date: Wed, 2 Feb 2022 00:10:07 +0100 Subject: [PATCH] new control gui scripts --- control/gui/Buttons2.pm | 45 +++++++++++------- .../{40_ReSync_Missing_OEP => 40_ReSync_OEP} | 0 control/gui/eb/29_BEAM_Files | 2 +- control/gui/eb/50_COSMICS_Files | 27 +++-------- control/gui/eb/52_TEST_File | 17 +------ control/gui/eb/55_NO_FILE | 29 ++++------- control/gui/eb/70_Set_1_EB | 4 +- control/gui/eb/74_Set_5_EB | 2 +- control/gui/eb/77_Set_10_EB | 2 +- control/gui/eb/78_Set_15_EB | 3 +- control/gui/expert/30_Start_TDC_Caltest | 18 +++++++ control/gui/expert/31_Stop_TDC_Caltest | 16 +++++++ control/gui/expert/65_____Stop_EB | 4 +- control/gui/expert/Reset_Beamabort_Error | 4 ++ control/gui/expert/Restart_Hmon | 2 +- control/gui/expert/Start_Speech_Output | 2 +- control/gui/expert/Stop_Speech_Output | 2 +- control/gui/monitor/91_Hmon_Snaphot | 2 +- control/gui/monitor/91_Hmon_Snaphot.png | Bin 0 -> 10302 bytes control/gui/power/ECAL_Padiwa_Powercycle | 13 +++-- control/gui/power/Hodo_Powercycle | 15 ++++++ control/gui/power/RICH_Powercycle | 5 +- control/gui/power/STS_Fee_Powercycle | 16 +++++++ control/gui/power/STS_fRPC_Powercycle | 3 ++ control/gui/power/Start_Powercycle | 15 ++++-- control/gui/power/Triggerbox_Beam_Powercycle | 15 ++++++ control/gui/power/iTOF_Padiwa_Powercycle | 15 ++++++ control/gui/power/{ => old}/00_Powercycle_all | 3 +- .../gui/power/{ => old}/RPC_special_PwrCyc | 0 control/gui/{daq => reboot}/50_Reboot_Dirich | 4 +- control/gui/{daq => reboot}/50_Reboot_Ecal | 6 +-- control/gui/reboot/50_Reboot_Hubs | 21 ++++++++ .../50_Reboot_MDC_Hub} | 0 control/gui/reboot/50_Reboot_RPC | 17 +++++++ .../{daq => reboot}/50_Reboot_Rich_Combiner | 0 control/gui/reboot/50_Reboot_STS_Hodo | 17 +++++++ .../50_Reboot_Start_iTOF} | 9 ++-- control/gui/reboot/50_Reboot_TOF_fRPC | 17 +++++++ .../{daq => reboot/old}/50_Reboot_RICH_Hubs | 0 .../gui/{expert => settings}/Thresholds_ECAL | 0 .../gui/{expert => settings}/Thresholds_RICH | 0 .../{expert => settings}/Thresholds_RPC_fRPC | 0 .../gui/{expert => settings}/Thresholds_STS | 6 ++- .../gui/{expert => settings}/Thresholds_Start | 2 +- .../gui/{expert => settings}/Thresholds_TOF | 0 control/gui/settings/Thresholds_iTOF | 13 +++++ control/mdcLVgui/S5/225x | 1 + control/mdcLVgui/S5/235x | 1 + 48 files changed, 280 insertions(+), 115 deletions(-) rename control/gui/daq/{40_ReSync_Missing_OEP => 40_ReSync_OEP} (100%) create mode 100755 control/gui/expert/30_Start_TDC_Caltest create mode 100755 control/gui/expert/31_Stop_TDC_Caltest create mode 100755 control/gui/expert/Reset_Beamabort_Error create mode 100644 control/gui/monitor/91_Hmon_Snaphot.png create mode 100755 control/gui/power/Hodo_Powercycle create mode 100755 control/gui/power/STS_Fee_Powercycle create mode 100755 control/gui/power/Triggerbox_Beam_Powercycle create mode 100755 control/gui/power/iTOF_Padiwa_Powercycle rename control/gui/power/{ => old}/00_Powercycle_all (93%) rename control/gui/power/{ => old}/RPC_special_PwrCyc (100%) rename control/gui/{daq => reboot}/50_Reboot_Dirich (89%) rename control/gui/{daq => reboot}/50_Reboot_Ecal (55%) create mode 100755 control/gui/reboot/50_Reboot_Hubs rename control/gui/{daq/35_Reboot_MDCHub => reboot/50_Reboot_MDC_Hub} (100%) create mode 100755 control/gui/reboot/50_Reboot_RPC rename control/gui/{daq => reboot}/50_Reboot_Rich_Combiner (100%) create mode 100755 control/gui/reboot/50_Reboot_STS_Hodo rename control/gui/{daq/50_Reboot_CentralHubs => reboot/50_Reboot_Start_iTOF} (55%) create mode 100755 control/gui/reboot/50_Reboot_TOF_fRPC rename control/gui/{daq => reboot/old}/50_Reboot_RICH_Hubs (100%) rename control/gui/{expert => settings}/Thresholds_ECAL (100%) rename control/gui/{expert => settings}/Thresholds_RICH (100%) rename control/gui/{expert => settings}/Thresholds_RPC_fRPC (100%) rename control/gui/{expert => settings}/Thresholds_STS (74%) rename control/gui/{expert => settings}/Thresholds_Start (83%) rename control/gui/{expert => settings}/Thresholds_TOF (100%) create mode 100755 control/gui/settings/Thresholds_iTOF diff --git a/control/gui/Buttons2.pm b/control/gui/Buttons2.pm index 4ced96a..9732790 100644 --- a/control/gui/Buttons2.pm +++ b/control/gui/Buttons2.pm @@ -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) ); |; diff --git a/control/gui/daq/40_ReSync_Missing_OEP b/control/gui/daq/40_ReSync_OEP similarity index 100% rename from control/gui/daq/40_ReSync_Missing_OEP rename to control/gui/daq/40_ReSync_OEP diff --git a/control/gui/eb/29_BEAM_Files b/control/gui/eb/29_BEAM_Files index cf2f0ca..096094c 100755 --- a/control/gui/eb/29_BEAM_Files +++ b/control/gui/eb/29_BEAM_Files @@ -21,7 +21,7 @@ $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " 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 diff --git a/control/gui/eb/50_COSMICS_Files b/control/gui/eb/50_COSMICS_Files index c402517..9c4ff3f 100755 --- a/control/gui/eb/50_COSMICS_Files +++ b/control/gui/eb/50_COSMICS_Files @@ -1,32 +1,17 @@ #!/bin/bash -# notifyall.sh "DAQ" " 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" " 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" " 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" " Eventbuilders are writing Cosmics Files." "EB" & +$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders are writing Cosmics Files." "EB" & diff --git a/control/gui/eb/52_TEST_File b/control/gui/eb/52_TEST_File index 697972b..0dab9d1 100755 --- a/control/gui/eb/52_TEST_File +++ b/control/gui/eb/52_TEST_File @@ -1,27 +1,12 @@ #!/bin/bash -# notifyall.sh "DAQ" " 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" " 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" " 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 diff --git a/control/gui/eb/55_NO_FILE b/control/gui/eb/55_NO_FILE index ed6cdb2..5b32ab1 100755 --- a/control/gui/eb/55_NO_FILE +++ b/control/gui/eb/55_NO_FILE @@ -1,29 +1,18 @@ #!/bin/bash -# notifyall.sh "DAQ" " 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" " 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" " 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" " Eventbuilders are writing NO FILES." "EB" & diff --git a/control/gui/eb/70_Set_1_EB b/control/gui/eb/70_Set_1_EB index ae1fec6..450b83d 100755 --- a/control/gui/eb/70_Set_1_EB +++ b/control/gui/eb/70_Set_1_EB @@ -7,10 +7,8 @@ if [ $myvar == "256" ]; then exit; fi $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " 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 diff --git a/control/gui/eb/74_Set_5_EB b/control/gui/eb/74_Set_5_EB index 2ecf860..c717e1f 100755 --- a/control/gui/eb/74_Set_5_EB +++ b/control/gui/eb/74_Set_5_EB @@ -8,7 +8,7 @@ if [ $myvar == "256" ]; then exit; fi $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " 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 diff --git a/control/gui/eb/77_Set_10_EB b/control/gui/eb/77_Set_10_EB index 936af40..af979db 100755 --- a/control/gui/eb/77_Set_10_EB +++ b/control/gui/eb/77_Set_10_EB @@ -8,7 +8,7 @@ if [ $myvar == "256" ]; then exit; fi $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " 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 diff --git a/control/gui/eb/78_Set_15_EB b/control/gui/eb/78_Set_15_EB index 7063d43..3f46e69 100755 --- a/control/gui/eb/78_Set_15_EB +++ b/control/gui/eb/78_Set_15_EB @@ -7,9 +7,8 @@ if [ $myvar == "256" ]; then exit; fi $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " 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 index 0000000..ca105dd --- /dev/null +++ b/control/gui/expert/30_Start_TDC_Caltest @@ -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" " 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" " 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 index 0000000..225253c --- /dev/null +++ b/control/gui/expert/31_Stop_TDC_Caltest @@ -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" " 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" " Eventbuilders have stopped TDC-Calibration test." "EB" & + diff --git a/control/gui/expert/65_____Stop_EB b/control/gui/expert/65_____Stop_EB index 013c3b4..82f6b41 100755 --- a/control/gui/expert/65_____Stop_EB +++ b/control/gui/expert/65_____Stop_EB @@ -7,10 +7,8 @@ if [ $myvar == "256" ]; then exit; fi $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " 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 index 0000000..d0f0ddd --- /dev/null +++ b/control/gui/expert/Reset_Beamabort_Error @@ -0,0 +1,4 @@ +#!/bin/bash + +ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh + diff --git a/control/gui/expert/Restart_Hmon b/control/gui/expert/Restart_Hmon index 8be126f..8bdb8ac 100755 --- a/control/gui/expert/Restart_Hmon +++ b/control/gui/expert/Restart_Hmon @@ -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 diff --git a/control/gui/expert/Start_Speech_Output b/control/gui/expert/Start_Speech_Output index 816fa2f..62d429f 100755 --- a/control/gui/expert/Start_Speech_Output +++ b/control/gui/expert/Start_Speech_Output @@ -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" diff --git a/control/gui/expert/Stop_Speech_Output b/control/gui/expert/Stop_Speech_Output index 55165b7..2b10204 100755 --- a/control/gui/expert/Stop_Speech_Output +++ b/control/gui/expert/Stop_Speech_Output @@ -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" diff --git a/control/gui/monitor/91_Hmon_Snaphot b/control/gui/monitor/91_Hmon_Snaphot index b09aa2d..72e3962 100755 --- a/control/gui/monitor/91_Hmon_Snaphot +++ b/control/gui/monitor/91_Hmon_Snaphot @@ -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 index 0000000000000000000000000000000000000000..c72e7547a2357991fb6ef4842cca544b506a2534 GIT binary patch literal 10302 zcma*NWmFW-7dO7k7PWwMvnbsuA+bw`z|vi^fW()OkY*PY6j2rlL5Wqm5eexK1Cbr!YSD)0RRA8Ur)>IpGN*q=%D}R zv(u{Fe+ul0GC~0W?^CEQTp|C~2sb@5BLE;m006)~`WN-jgz!;6+*f!2qyeeIsqyA{7jd081-8 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{I<$rZ?`3POYk%-*-N8v{*E=C;8N!*8?MpMR$ z`2x?Px4ttWc3P+9!^h?gx-xRD3rJ>1hSlG=5L*TH@4Y|>LD>~8KaSm@qmKDY=EC>& zFRfgb?6j*?=@jqm{=_EGEt7Nb+`jQnT`ZR|7sxO9>NUMQC7A(Cg&s|w&|~8@fFp(D zL@z(Q{k4a$(ToB6JY{m(0;%1T-)Ig@`bBl$S1xv7GWuk9ujes!=k>*<;@Qs8H4B$q zM$?j;Elu@<7^58fw-2g5PM;^m1?4UzyY*Hb%*D{s=}`0o4s6Q*#-BNCnf@c=&08~8 z8VzwKzq_;OpvLm~CbTy*%s#R8}08IDuC3-|9uMrcUzKswhWU zn(|Ci=V$+%3bjW$wCtQV+zwoqU+I0%;a*37lUchlsW)z- z+Qjg+w`N#DZF=qF|6K%F&1`wY4Pbjyo#-6P9Q=sOa{^j!YGir(uytNy-1J3%pp@Al zI7pq*-(IZh*Buw%+vBW;ez}+9faz9&?dxJcS-)e6q_%G%JLSJx9gYDXzlG3Z|KE&j zT0~H81U8OT^RJhVKUmu)7~>l3uI%=}{htEJNXbZxOG}AMDOpG>D9b1)%PERV$tX)n zE%u&?{Qm&|`D461!v6=55|@@1mr}5hmQj}d7b+(zCH)V;O{wy~4ncsvwy{>VhD+T4 E2hN^PLjV8( literal 0 HcmV?d00001 diff --git a/control/gui/power/ECAL_Padiwa_Powercycle b/control/gui/power/ECAL_Padiwa_Powercycle index f696d16..f53d923 100755 --- a/control/gui/power/ECAL_Padiwa_Powercycle +++ b/control/gui/power/ECAL_Padiwa_Powercycle @@ -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 index 0000000..61de00f --- /dev/null +++ b/control/gui/power/Hodo_Powercycle @@ -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 + " +' diff --git a/control/gui/power/RICH_Powercycle b/control/gui/power/RICH_Powercycle index 54859fa..72e8d6e 100755 --- a/control/gui/power/RICH_Powercycle +++ b/control/gui/power/RICH_Powercycle @@ -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 index 0000000..7488048 --- /dev/null +++ b/control/gui/power/STS_Fee_Powercycle @@ -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 +" +' diff --git a/control/gui/power/STS_fRPC_Powercycle b/control/gui/power/STS_fRPC_Powercycle index 084c158..2739a01 100755 --- a/control/gui/power/STS_fRPC_Powercycle +++ b/control/gui/power/STS_fRPC_Powercycle @@ -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 " ' diff --git a/control/gui/power/Start_Powercycle b/control/gui/power/Start_Powercycle index 81ea82c..952ff4b 100755 --- a/control/gui/power/Start_Powercycle +++ b/control/gui/power/Start_Powercycle @@ -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 index 0000000..5f866f1 --- /dev/null +++ b/control/gui/power/Triggerbox_Beam_Powercycle @@ -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 index 0000000..10ad6f3 --- /dev/null +++ b/control/gui/power/iTOF_Padiwa_Powercycle @@ -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 + " +' diff --git a/control/gui/power/00_Powercycle_all b/control/gui/power/old/00_Powercycle_all similarity index 93% rename from control/gui/power/00_Powercycle_all rename to control/gui/power/old/00_Powercycle_all index a7ce529..5d81100 100755 --- a/control/gui/power/00_Powercycle_all +++ b/control/gui/power/old/00_Powercycle_all @@ -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 " +' diff --git a/control/gui/power/RPC_special_PwrCyc b/control/gui/power/old/RPC_special_PwrCyc similarity index 100% rename from control/gui/power/RPC_special_PwrCyc rename to control/gui/power/old/RPC_special_PwrCyc diff --git a/control/gui/daq/50_Reboot_Dirich b/control/gui/reboot/50_Reboot_Dirich similarity index 89% rename from control/gui/daq/50_Reboot_Dirich rename to control/gui/reboot/50_Reboot_Dirich index dd899c1..43be678 100755 --- a/control/gui/daq/50_Reboot_Dirich +++ b/control/gui/reboot/50_Reboot_Dirich @@ -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" " 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 " ' diff --git a/control/gui/daq/50_Reboot_Ecal b/control/gui/reboot/50_Reboot_Ecal similarity index 55% rename from control/gui/daq/50_Reboot_Ecal rename to control/gui/reboot/50_Reboot_Ecal index a112eae..ef39dbf 100755 --- a/control/gui/daq/50_Reboot_Ecal +++ b/control/gui/reboot/50_Reboot_Ecal @@ -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" " The TRB3 in the system are going to be rebooted." "STARTUP" & +notifyall.sh "DAQ" " 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" " 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 index 0000000..57ab3a3 --- /dev/null +++ b/control/gui/reboot/50_Reboot_Hubs @@ -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" " 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/daq/35_Reboot_MDCHub b/control/gui/reboot/50_Reboot_MDC_Hub similarity index 100% rename from control/gui/daq/35_Reboot_MDCHub rename to control/gui/reboot/50_Reboot_MDC_Hub diff --git a/control/gui/reboot/50_Reboot_RPC b/control/gui/reboot/50_Reboot_RPC new file mode 100755 index 0000000..e47a6f3 --- /dev/null +++ b/control/gui/reboot/50_Reboot_RPC @@ -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" " 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/daq/50_Reboot_Rich_Combiner b/control/gui/reboot/50_Reboot_Rich_Combiner similarity index 100% rename from control/gui/daq/50_Reboot_Rich_Combiner rename to control/gui/reboot/50_Reboot_Rich_Combiner diff --git a/control/gui/reboot/50_Reboot_STS_Hodo b/control/gui/reboot/50_Reboot_STS_Hodo new file mode 100755 index 0000000..e79003e --- /dev/null +++ b/control/gui/reboot/50_Reboot_STS_Hodo @@ -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" " 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 + " +' + + diff --git a/control/gui/daq/50_Reboot_CentralHubs b/control/gui/reboot/50_Reboot_Start_iTOF similarity index 55% rename from control/gui/daq/50_Reboot_CentralHubs rename to control/gui/reboot/50_Reboot_Start_iTOF index 33d2bff..aeeeb0f 100755 --- a/control/gui/daq/50_Reboot_CentralHubs +++ b/control/gui/reboot/50_Reboot_Start_iTOF @@ -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" " The TRB3 in the system are going to be rebooted." "STARTUP" & +notifyall.sh "DAQ" " 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" " 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 index 0000000..d01418b --- /dev/null +++ b/control/gui/reboot/50_Reboot_TOF_fRPC @@ -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" " 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 + " +' + + diff --git a/control/gui/daq/50_Reboot_RICH_Hubs b/control/gui/reboot/old/50_Reboot_RICH_Hubs similarity index 100% rename from control/gui/daq/50_Reboot_RICH_Hubs rename to control/gui/reboot/old/50_Reboot_RICH_Hubs diff --git a/control/gui/expert/Thresholds_ECAL b/control/gui/settings/Thresholds_ECAL similarity index 100% rename from control/gui/expert/Thresholds_ECAL rename to control/gui/settings/Thresholds_ECAL diff --git a/control/gui/expert/Thresholds_RICH b/control/gui/settings/Thresholds_RICH similarity index 100% rename from control/gui/expert/Thresholds_RICH rename to control/gui/settings/Thresholds_RICH diff --git a/control/gui/expert/Thresholds_RPC_fRPC b/control/gui/settings/Thresholds_RPC_fRPC similarity index 100% rename from control/gui/expert/Thresholds_RPC_fRPC rename to control/gui/settings/Thresholds_RPC_fRPC diff --git a/control/gui/expert/Thresholds_STS b/control/gui/settings/Thresholds_STS similarity index 74% rename from control/gui/expert/Thresholds_STS rename to control/gui/settings/Thresholds_STS index de0aacb..3f301bd 100755 --- a/control/gui/expert/Thresholds_STS +++ b/control/gui/settings/Thresholds_STS @@ -9,8 +9,6 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' echo \" 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 + diff --git a/control/gui/expert/Thresholds_Start b/control/gui/settings/Thresholds_Start similarity index 83% rename from control/gui/expert/Thresholds_Start rename to control/gui/settings/Thresholds_Start index b9d0a00..c849586 100755 --- a/control/gui/expert/Thresholds_Start +++ b/control/gui/settings/Thresholds_Start @@ -3,7 +3,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' ssh hadaq@lxhadesdaqp " export DAQOPSERVER=hadesp31 - echo \" Setting Thresholds...\" + echo \" Setting Thresholds...\" cd /home/hadaq/trbsoft/hadesdaq/start ./set_threshold_start.sh echo \"Done\" diff --git a/control/gui/expert/Thresholds_TOF b/control/gui/settings/Thresholds_TOF similarity index 100% rename from control/gui/expert/Thresholds_TOF rename to control/gui/settings/Thresholds_TOF diff --git a/control/gui/settings/Thresholds_iTOF b/control/gui/settings/Thresholds_iTOF new file mode 100755 index 0000000..fd7464d --- /dev/null +++ b/control/gui/settings/Thresholds_iTOF @@ -0,0 +1,13 @@ +#!/bin/bash + +xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' + ssh hadaq@lxhadesdaqp " + export DAQOPSERVER=hadesp31 + echo \" Setting Thresholds...\" + cd /home/hadaq/trbsoft/hadesdaq/itof + ./set_threshold_itof.sh + echo \"Done\" + sleep 10 +" +' + diff --git a/control/mdcLVgui/S5/225x b/control/mdcLVgui/S5/225x index 3fe734a..3d946a9 100755 --- a/control/mdcLVgui/S5/225x +++ b/control/mdcLVgui/S5/225x @@ -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 " diff --git a/control/mdcLVgui/S5/235x b/control/mdcLVgui/S5/235x index 06909a3..4cd57b7 100755 --- a/control/mdcLVgui/S5/235x +++ b/control/mdcLVgui/S5/235x @@ -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 " -- 2.43.0