From fadca7e8a0da06942eff34822553fb303e1d0e7d Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 4 Jan 2024 12:39:26 +0100 Subject: [PATCH] update control gui and hmon doc files --- control/gui/Buttons2.pm | 63 +++++++++-------- .../gui/call_programs_wrapper_lxhadesdaq.sh | 2 +- .../{20_Resync_DiRich => 40_Resync_DiRich} | 0 .../59_RESET_EB => daq/59_Reset_Evenbuilder} | 0 control/gui/{daq => eb}/50_Cosmics_Files | 0 control/gui/{daq => eb}/52_Test_Files | 0 control/gui/{expert => eb}/65_____Stop_EB | 0 control/gui/eb/76_Set_8_EB | 2 +- .../gui/{expert => eb}/Restart_BNET_Control | 2 +- control/gui/expert/27_Start_TDC_CAL | 8 ++- control/gui/expert/30_TDC_Caltest | 20 +++++- control/gui/{power => expert}/MDC_Relais_On | 0 control/gui/expert/Restart_EPICS_IOC | 22 ++++++ control/gui/expert/Restart_Sequencer | 15 ----- .../gui/expert/{ => old}/Restart_Rawdata_Mon | 3 +- control/gui/monitor/10_CTS_Monitor | 5 +- control/gui/monitor/80_Daq_Expert_VNC | 4 ++ control/gui/power/Wall | 23 ++++--- control/gui/reboot/10_Quite-A-Lot | 67 +++++++++++++++++++ control/gui/reboot/30_Ecal | 17 ++--- control/gui/reboot/30_RICH | 46 ++++++++----- control/gui/reboot/30_RPC | 32 +++++---- control/gui/reboot/30_Start | 18 +++-- control/gui/reboot/30_TOF_FW | 39 ----------- control/gui/reboot/30_TOF_Wall | 30 +++++++++ .../gui/reboot/{old => }/99_Fix_Missing_IP | 0 control/gui/settings/20_Beam_Abort_OnOff | 6 +- control/gui/settings/21_Beam_Abort_Reset | 6 +- control/gui/settings/RPC_Thrs | 1 + hmon/QA.pm | 20 +++--- hmon/doc/daq-busy.htt | 8 +-- hmon/doc/daq-timeouts.htt | 11 ++- hmon/doc/daq-trbnet.htt | 6 +- hmon/doc/hv-ecalhv.htt | 3 +- hmon/doc/hv-fwhv.htt | 3 +- hmon/doc/hv-richhv.htt | 19 +----- hmon/doc/hv-rpchv.htt | 3 +- hmon/doc/hv-tofhv.htt | 3 +- hmon/doc/hv2-frpchv.htt | 2 + hmon/doc/hv2-mdchv.htt | 3 +- .../{misc-sequencer.htt => hv2-sequencer.htt} | 0 hmon/doc/hv2-starthv.htt | 2 + hmon/doc/hv2-stshv.htt | 2 + hmon/doc/main-rate.htt | 13 ++-- hmon/doc/{hv2-valve.htt => misc-valve.htt} | 0 hmon/doc/{padiwa-ecal.htt => misc2-ecal.htt} | 0 .../hmon_tdcchanerrors_testmonitor.pl | 0 47 files changed, 327 insertions(+), 202 deletions(-) rename control/gui/daq/{20_Resync_DiRich => 40_Resync_DiRich} (100%) rename control/gui/{eb/59_RESET_EB => daq/59_Reset_Evenbuilder} (100%) rename control/gui/{daq => eb}/50_Cosmics_Files (100%) rename control/gui/{daq => eb}/52_Test_Files (100%) rename control/gui/{expert => eb}/65_____Stop_EB (100%) rename control/gui/{expert => eb}/Restart_BNET_Control (93%) rename control/gui/{power => expert}/MDC_Relais_On (100%) create mode 100755 control/gui/expert/Restart_EPICS_IOC delete mode 100755 control/gui/expert/Restart_Sequencer rename control/gui/expert/{ => old}/Restart_Rawdata_Mon (93%) create mode 100755 control/gui/reboot/10_Quite-A-Lot delete mode 100755 control/gui/reboot/30_TOF_FW create mode 100755 control/gui/reboot/30_TOF_Wall rename control/gui/reboot/{old => }/99_Fix_Missing_IP (100%) rename hmon/doc/{misc-sequencer.htt => hv2-sequencer.htt} (100%) rename hmon/doc/{hv2-valve.htt => misc-valve.htt} (100%) rename hmon/doc/{padiwa-ecal.htt => misc2-ecal.htt} (100%) rename hmon/{ => permanent}/hmon_tdcchanerrors_testmonitor.pl (100%) diff --git a/control/gui/Buttons2.pm b/control/gui/Buttons2.pm index 28cf754..29eb307 100644 --- a/control/gui/Buttons2.pm +++ b/control/gui/Buttons2.pm @@ -28,10 +28,10 @@ sub hide_expert_checked { my ( $state) = @_; if($state == Qt::Unchecked()) { - this->{self}->{groupBox_4}->hide(); + this->{self}->{groupBox_5}->hide(); } else { - this->{self}->{groupBox_4}->show(); + this->{self}->{groupBox_5}->show(); } } @@ -106,24 +106,6 @@ sub NEW { $horizontalLayout->addWidget( $groupBox_1 ); - my $groupBox_2 = Qt::GroupBox( $centralwidget ); - $self->{groupBox_2} = $groupBox_2; - $groupBox_2->setObjectName( "groupBox_2" ); - 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" ); @@ -131,6 +113,7 @@ sub NEW { $self->{vl_gb6} = $vl_gb6; $vl_gb6->setObjectName( "vl_gb6" ); $horizontalLayout->addWidget( $groupBox_6 ); + $groupBox_6->setStyleSheet("background-color:#7c7;font-weight:bold;"); my $groupBox_7 = Qt::GroupBox( $centralwidget ); $self->{groupBox_7} = $groupBox_7; @@ -139,23 +122,44 @@ sub NEW { $self->{vl_gb7} = $vl_gb7; $vl_gb7->setObjectName( "vl_gb7" ); $horizontalLayout->addWidget( $groupBox_7 ); + $groupBox_7->setStyleSheet("background-color:#cc7;font-weight:bold;"); 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 ); + $groupBox_4->setStyleSheet("background-color:#ca7;font-weight:bold;"); + + + my $groupBox_2 = Qt::GroupBox( $centralwidget ); + $self->{groupBox_2} = $groupBox_2; + $groupBox_2->setObjectName( "groupBox_2" ); + 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_5 = Qt::GroupBox( $centralwidget ); $self->{groupBox_5} = $groupBox_5; $groupBox_5->setObjectName( "groupBox_5" ); my $vl_gb5 = Qt::VBoxLayout( $groupBox_5 ); + $groupBox_5->hide(); $self->{vl_gb5} = $vl_gb5; $vl_gb5->setObjectName( "vl_gb5" ); $horizontalLayout->addWidget( $groupBox_5 ); @@ -190,11 +194,11 @@ sub NEW { # $vl_top->addWidget( $pushButton ); - # my $checkBox = Qt::CheckBox( $centralwidget ); - # $self->{checkBox} = $checkBox; - # $checkBox->setObjectName( "checkBox" ); + my $checkBox = Qt::CheckBox( $centralwidget ); + $self->{checkBox} = $checkBox; + $checkBox->setObjectName( "checkBox" ); - # $vl_top->addWidget( $checkBox ); + $vl_top->addWidget( $checkBox ); $mainWindow->setCentralWidget( $centralwidget ); my $menubar = Qt::MenuBar( $mainWindow ); @@ -247,8 +251,8 @@ sub NEW { # Qt::Object::connect($pushButton, SIGNAL 'clicked()' , $mainWindow, SLOT 'close()' ); -# Qt::Object::connect($checkBox, SIGNAL 'stateChanged(int)' , -# this, SLOT 'hide_expert_checked(int)' ); + Qt::Object::connect($checkBox, SIGNAL 'stateChanged(int)' , + this, SLOT 'hide_expert_checked(int)' ); Qt::MetaObject::connectSlotsByName( $mainWindow ); @@ -263,12 +267,12 @@ sub retranslateUi { $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', "Power", undef, Qt::Application::UnicodeUTF8() ) ); + $self->{groupBox_4}->setTitle( Qt::Application::translate( 'MainWindow', "Powercycle", 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() ) ); -# $self->{checkBox}->setText( Qt::Application::translate( 'MainWindow', "Show Expert Tools", undef, Qt::Application::UnicodeUTF8() ) ); + $self->{checkBox}->setText( Qt::Application::translate( 'MainWindow', "Show Expert Tools", undef, Qt::Application::UnicodeUTF8() ) ); } # retranslateUi @@ -338,6 +342,7 @@ my \$icon$i = Qt::Icon; \$pb$i->setIcon( \$icon$i ); \$pb$i->setIconSize( Qt::Size(32, 32) ); + \$pb$i->setStyleSheet("background-color:#ccc;font-weight:normal;"); |; diff --git a/control/gui/call_programs_wrapper_lxhadesdaq.sh b/control/gui/call_programs_wrapper_lxhadesdaq.sh index db334ba..4e93765 100755 --- a/control/gui/call_programs_wrapper_lxhadesdaq.sh +++ b/control/gui/call_programs_wrapper_lxhadesdaq.sh @@ -1,4 +1,4 @@ -ssh -X lxhadesdaq "export PATH=\$PATH:\$HOME/bin; echo $PATH; cd /home/hadaq/trbsoft/hadesdaq/control/gui/; ./call_programs2.pl -geometry -0-0" +ssh -X lxhadesdaqp "export PATH=\$PATH:\$HOME/bin; echo $PATH; cd /home/hadaq/trbsoft/hadesdaq/control/gui/; ./call_programs2.pl -geometry -0-0" #ssh -X lxhadeb06 ". .bashrc; export PATH=\$PATH:\$HOME/bin; echo $PATH; cd /home/hadaq/trbsoft/hadesdaq/control/gui/; ./call_programs2.pl -geometry -0-0" #cd /home/hadaq/trbsoft/daq/control/gui/ diff --git a/control/gui/daq/20_Resync_DiRich b/control/gui/daq/40_Resync_DiRich similarity index 100% rename from control/gui/daq/20_Resync_DiRich rename to control/gui/daq/40_Resync_DiRich diff --git a/control/gui/eb/59_RESET_EB b/control/gui/daq/59_Reset_Evenbuilder similarity index 100% rename from control/gui/eb/59_RESET_EB rename to control/gui/daq/59_Reset_Evenbuilder diff --git a/control/gui/daq/50_Cosmics_Files b/control/gui/eb/50_Cosmics_Files similarity index 100% rename from control/gui/daq/50_Cosmics_Files rename to control/gui/eb/50_Cosmics_Files diff --git a/control/gui/daq/52_Test_Files b/control/gui/eb/52_Test_Files similarity index 100% rename from control/gui/daq/52_Test_Files rename to control/gui/eb/52_Test_Files diff --git a/control/gui/expert/65_____Stop_EB b/control/gui/eb/65_____Stop_EB similarity index 100% rename from control/gui/expert/65_____Stop_EB rename to control/gui/eb/65_____Stop_EB diff --git a/control/gui/eb/76_Set_8_EB b/control/gui/eb/76_Set_8_EB index 3f74008..edad71e 100755 --- a/control/gui/eb/76_Set_8_EB +++ b/control/gui/eb/76_Set_8_EB @@ -9,7 +9,7 @@ $HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders are being sta xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@lxhadesdaqp " - echo "Starting Eventbuilders with 10 BNET builder nodes" + echo "Starting Eventbuilders with 8 BNET builder nodes" cd ~/trbsoft/hadesdaq/evtbuild/ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te -b 8 sleep 2 diff --git a/control/gui/expert/Restart_BNET_Control b/control/gui/eb/Restart_BNET_Control similarity index 93% rename from control/gui/expert/Restart_BNET_Control rename to control/gui/eb/Restart_BNET_Control index d9d2423..51c753b 100755 --- a/control/gui/expert/Restart_BNET_Control +++ b/control/gui/eb/Restart_BNET_Control @@ -6,7 +6,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c ' - ssh hadaq@lxhadeb12p " + ssh hadaq@lxhadeb12 " /home/hadaq/bin/restart_bnetmaster.sh echo Done sleep 5 diff --git a/control/gui/expert/27_Start_TDC_CAL b/control/gui/expert/27_Start_TDC_CAL index 5bc3604..b7140af 100755 --- a/control/gui/expert/27_Start_TDC_CAL +++ b/control/gui/expert/27_Start_TDC_CAL @@ -1,6 +1,6 @@ #!/bin/bash # 100Hz -> 2e6 pulservalue = 0x1E8480 - +# JAM 6-11-2023: also restart raw data monitor process during calibration to init all channels there export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "start the TDC calibration process") if [ $myvar == "256" ]; then exit; fi @@ -12,7 +12,13 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@lxhadesdaqp " /home/hadaq/trbsoft/hadesdaq/evtbuild/tdc_calib_start.sh " + ' /home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have started TDC-Calibration procedure." "EB" & +# JAM 8-12-23: removed automatic restart of rawmon again, due to TIME_WAIT problems of http server +#sleep 5 +# ssh hadaq@lxhadeb12 " +# /home/hadaq/bin/restart_rawmon.sh +# " diff --git a/control/gui/expert/30_TDC_Caltest b/control/gui/expert/30_TDC_Caltest index ca105dd..74b98a7 100755 --- a/control/gui/expert/30_TDC_Caltest +++ b/control/gui/expert/30_TDC_Caltest @@ -11,7 +11,25 @@ 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 - " + echo "Running for 30 seconds" + sleep 10; + echo "Running for 20 seconds more" + sleep 10; + echo "Running for 10 seconds more" + sleep 10; +# echo "Give it another 10 seconds more" +# sleep 10; + + /home/hadaq/trbsoft/hadesdaq/evtbuild/tdc_test_stop.sh + echo "Caltest stopped, analysis ongoing" + "; + sleep 10; + ssh hadaq@hades33 " + source ~/.bashrc + cd /home/hadaq/trbsoft/daq/hmon/ + bash -c \"perl permanent/hmon_tdcchanerrors_testmonitor.pl 1>/dev/null 2>>/home/hadaq/trbsoft/hadesdaq/hmon/logs/perlerror_hmon_tdcchanerrors_testmonitor.pl\" & + "; + sleep 10; ' /home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have started TDC-Calibration test file." "EB" & diff --git a/control/gui/power/MDC_Relais_On b/control/gui/expert/MDC_Relais_On similarity index 100% rename from control/gui/power/MDC_Relais_On rename to control/gui/expert/MDC_Relais_On diff --git a/control/gui/expert/Restart_EPICS_IOC b/control/gui/expert/Restart_EPICS_IOC new file mode 100755 index 0000000..faa92e2 --- /dev/null +++ b/control/gui/expert/Restart_EPICS_IOC @@ -0,0 +1,22 @@ +#!/bin/bash + +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "restart the main EPICS IOC? This will interrupt the detector controls for several minutes. INFORM DETECTOR OPERATORS!") +if [ $myvar == "256" ]; then exit; fi + +notifyall.sh "EPICS" " Main IOC is being restarted." "EPICS" & + + + +xterm -geometry 80x24 -bg orange -fg black -e bash -c ' + ssh scs@lxhaddcs11 " + echo Re-starting Sequencers + echo -en \"\x18\"| netcat -w 1 localhost 4813 + echo Done + sleep 5 + " +' + + + # | netcat -w 1 localhost 4813 + + diff --git a/control/gui/expert/Restart_Sequencer b/control/gui/expert/Restart_Sequencer deleted file mode 100755 index 924da4d..0000000 --- a/control/gui/expert/Restart_Sequencer +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -xterm -geometry 80x24 -bg orange -fg black -e bash -c ' - ssh scs@lxhadeb06 " - echo Re-starting Sequencers - echo -en \"\x18\"| netcat -w 1 localhost 4813 - echo Done - sleep 5 - " -' - - - # | netcat -w 1 localhost 4813 - - diff --git a/control/gui/expert/Restart_Rawdata_Mon b/control/gui/expert/old/Restart_Rawdata_Mon similarity index 93% rename from control/gui/expert/Restart_Rawdata_Mon rename to control/gui/expert/old/Restart_Rawdata_Mon index 144eeea..d756e05 100755 --- a/control/gui/expert/Restart_Rawdata_Mon +++ b/control/gui/expert/old/Restart_Rawdata_Mon @@ -7,7 +7,7 @@ # below lxhadeb12: xterm -geometry 80x24 -bg orange -fg black -e bash -c ' - ssh hadaq@lxhadeb12p " + ssh hadaq@lxhadeb12 " /home/hadaq/bin/restart_rawmon.sh echo Done sleep 5 @@ -16,4 +16,3 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c ' - diff --git a/control/gui/monitor/10_CTS_Monitor b/control/gui/monitor/10_CTS_Monitor index ce98270..b3754e0 100755 --- a/control/gui/monitor/10_CTS_Monitor +++ b/control/gui/monitor/10_CTS_Monitor @@ -13,8 +13,9 @@ #xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' - ssh -X hadaq@lxhadesdaqp " - source /home/hadaq/.bashrc +# ssh -X hadaq@lxhadesdaqp " # JAM 11-2023 moved to hades33 due to changed lxhadesdaq installation +ssh -X hadaq@hades33 " + source /home/hadaq/.bashrc export DAQOPSERVER=hadesp31 cd /home/hadaq/trbsoft/hadesdaq/control/ctsmon perl ./mon_cts.pl diff --git a/control/gui/monitor/80_Daq_Expert_VNC b/control/gui/monitor/80_Daq_Expert_VNC index 71e8312..42f93fb 100755 --- a/control/gui/monitor/80_Daq_Expert_VNC +++ b/control/gui/monitor/80_Daq_Expert_VNC @@ -1,3 +1,7 @@ #!/bin/bash +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "open the DAQ VNC? Don't run this on the VNC itself!") +if [ $myvar == "256" ]; then exit; fi + + vncviewer --shared -passwd ~/.vnc/passwd hades70:1 & diff --git a/control/gui/power/Wall b/control/gui/power/Wall index 2a16d81..a5256a9 100755 --- a/control/gui/power/Wall +++ b/control/gui/power/Wall @@ -1,14 +1,17 @@ #!/bin/bash +!/bin/bash -export myvar=$(doyoureallywant.pl "to make a Forward Wall powercycle? There will be no further warnings!") +export myvar=$(doyoureallywant.pl "to powercycle the Wall LV?") if [ $myvar == "256" ]; then exit; fi -xterm -e " -echo 'Sending power cycle request' -wget -O /dev/null --http-password kaese --http-user admin -d http://haepcp06/RESET.CGI?a=0\&bi=5\&t=0\&b=1 -sleep 5 -echo 'waiting a minute until boards are rebooted' -sleep 60 -echo 'Done' -sleep 5 -" +xterm -e bash --login -c ' + ssh hadaq@lxhadesdaqp " + source /home/hadaq/.bash_profile + echo \"Starting a Wall power cycle...\" + cd /home/hadaq/hadesdaq/utils; + PERLLIB=$EPICS_BASE/lib/perl ./Wall_Powercycle.pl; +# PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./Wall_Powercycle.pl; + echo Done + sleep 5 + " +' diff --git a/control/gui/reboot/10_Quite-A-Lot b/control/gui/reboot/10_Quite-A-Lot new file mode 100755 index 0000000..eca6742 --- /dev/null +++ b/control/gui/reboot/10_Quite-A-Lot @@ -0,0 +1,67 @@ +#!/bin/bash + +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot many boards ") +if [ $myvar == "256" ]; then exit; fi + +notifyall.sh "DAQ" " 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 " + cd ~/trbsoft/trbnettools/binlocal + + echo \"This does not include MDC, Extra Boards, Hubs, CTS!\" + + + +echo TOF FW +for TRB3_SERVER in trbp088 trbp263 trbp006 trbp262 trbp265 trbp242 trbp074 trbp267 trbp266; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + done + +echo RICH +trbcmd reload 0xfe51 #to prevent a race condition between reset issued by combiner and Dirich not rebooting afterwards +for TRB3_SERVER in trb3sc136 trb3sc158 trb3sc144 trb3sc139 trb3sc163 trb3sc153 trb3sc164 trb3sc166 trb3sc137 trb3sc138 trb3sc162 trb3sc141; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + + +echo RPC +for TRB3_SERVER in trb3sc317 trb3sc319 trb3sc320 trb3sc315 trb3sc318 trb3sc316; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + +sleep 2 + +echo ECal +for TRB3_SERVER in trb3sc134 trb3sc009 trb3sc130 trb3sc128 trb3sc131 trb3sc129 ; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + + + +echo Start +for TRB3_SERVER in trb3sc438; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + done + + + echo \"Done - Check for Error messages above, then do a DAQ restart!\" + sleep 10 + " +' + + diff --git a/control/gui/reboot/30_Ecal b/control/gui/reboot/30_Ecal index 348d63f..e0e6eff 100755 --- a/control/gui/reboot/30_Ecal +++ b/control/gui/reboot/30_Ecal @@ -13,14 +13,15 @@ xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' 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 + +for TRB3_SERVER in trb3sc134 trb3sc009 trb3sc130 trb3sc128 trb3sc131 trb3sc129 ; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + + echo \"Done - Check for Error messages above, then do a DAQ restart!\" sleep 10 " diff --git a/control/gui/reboot/30_RICH b/control/gui/reboot/30_RICH index 8cc37b5..fd0ec63 100755 --- a/control/gui/reboot/30_RICH +++ b/control/gui/reboot/30_RICH @@ -8,23 +8,35 @@ notifyall.sh "DAQ" " 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!" + cd ~/trbsoft/trbnettools/binlocal + + + + +for TRB3_SERVER in trb3sc136 trb3sc158 trb3sc144 trb3sc139 trb3sc163 trb3sc153 trb3sc164 trb3sc166 trb3sc137 trb3sc138 trb3sc162 trb3sc141; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xfe51 #to prevent a race condition between reset issued by combiner and Dirich not rebooting afterwards + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + + + +#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 - Check for Error messages above, then do a DAQ restart!\" sleep 10 " ' diff --git a/control/gui/reboot/30_RPC b/control/gui/reboot/30_RPC index 53588f0..79a7318 100755 --- a/control/gui/reboot/30_RPC +++ b/control/gui/reboot/30_RPC @@ -9,19 +9,25 @@ notifyall.sh "DAQ" " 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 + cd ~/trbsoft/trbnettools/binlocal + +for TRB3_SERVER in trb3sc317 trb3sc319 trb3sc320 trb3sc315 trb3sc318 trb3sc316; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + +# 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 - Check for Error messages above, then do a DAQ restart!\" sleep 10 " diff --git a/control/gui/reboot/30_Start b/control/gui/reboot/30_Start index 3aa131c..c369048 100755 --- a/control/gui/reboot/30_Start +++ b/control/gui/reboot/30_Start @@ -1,19 +1,23 @@ #!/bin/bash -export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TDCs of Start iTOF in the system") +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot boards of Start in the system") if [ $myvar == "256" ]; then exit; fi -notifyall.sh "DAQ" " The TDCs of Start iTOF are going to be rebooted." "STARTUP" & +notifyall.sh "DAQ" " The Start 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 0xfe74 -# trbcmd reload 0xfe76 - trbcmd reload 0x8880 -# trbcmd reload 0x8d00 - echo Done + + +for TRB3_SERVER in trb3sc438; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + done + + echo \"Done - Check for Error messages above, then do a DAQ restart!\" sleep 10 " diff --git a/control/gui/reboot/30_TOF_FW b/control/gui/reboot/30_TOF_FW deleted file mode 100755 index 06bfc7b..0000000 --- a/control/gui/reboot/30_TOF_FW +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TOF and FW ") -if [ $myvar == "256" ]; then exit; fi - -notifyall.sh "DAQ" " 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 - " -' - - diff --git a/control/gui/reboot/30_TOF_Wall b/control/gui/reboot/30_TOF_Wall new file mode 100755 index 0000000..e059982 --- /dev/null +++ b/control/gui/reboot/30_TOF_Wall @@ -0,0 +1,30 @@ +#!/bin/bash + +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "reboot TOF and FW ") +if [ $myvar == "256" ]; then exit; fi + +notifyall.sh "DAQ" " 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 " + cd ~/trbsoft/trbnettools/binlocal + + + + +for TRB3_SERVER in trbp088 trbp263 trbp006 trbp262 trbp265 trbp242 trbp074 trbp267 trbp266; + do + ping \$TRB3_SERVER -c 1 -w 1 >/dev/null 2>&1 || echo \"ERROR contacting \$TRB3_SERVER\" + TRB3_SERVER=\$TRB3_SERVER ./trbcmd reload 0xffff + sleep .3 + done + + + + echo \"Done - Check for Error messages above, then do a DAQ restart!\" + sleep 10 + " +' + + diff --git a/control/gui/reboot/old/99_Fix_Missing_IP b/control/gui/reboot/99_Fix_Missing_IP similarity index 100% rename from control/gui/reboot/old/99_Fix_Missing_IP rename to control/gui/reboot/99_Fix_Missing_IP diff --git a/control/gui/settings/20_Beam_Abort_OnOff b/control/gui/settings/20_Beam_Abort_OnOff index aff6c34..c7fc927 100755 --- a/control/gui/settings/20_Beam_Abort_OnOff +++ b/control/gui/settings/20_Beam_Abort_OnOff @@ -3,11 +3,11 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@hadesp33 " echo \"Toggle beam abort system.\" - ssh hadeswrp02 /home/hadaq/bin/toggle_beam_abort.sh + ssh hadeswrp01 /home/hadaq/bin/toggle_beam_abort.sh echo Done sleep 2 " ' - - +# JAM 22-11-2023: use this for spare machine +#ssh hadeswrp02 /home/hadaq/bin/toggle_beam_abort.sh diff --git a/control/gui/settings/21_Beam_Abort_Reset b/control/gui/settings/21_Beam_Abort_Reset index 35e2e64..68ac7e7 100755 --- a/control/gui/settings/21_Beam_Abort_Reset +++ b/control/gui/settings/21_Beam_Abort_Reset @@ -3,11 +3,13 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@hadesp33 " echo Removing Error Flag - ssh hadeswrp02 /home/hadaq/bin/reset_beamabort_error.sh + ssh hadeswrp01 /home/hadaq/bin/reset_beamabort_error.sh echo Done - sleep 5 + sleep 2 " ' +# JAM 22-11-2023: use this for spare machine +#ssh hadeswrp02 /home/hadaq/bin/toggle_beam_abort.sh diff --git a/control/gui/settings/RPC_Thrs b/control/gui/settings/RPC_Thrs index d3b95da..1a2aefb 100755 --- a/control/gui/settings/RPC_Thrs +++ b/control/gui/settings/RPC_Thrs @@ -2,6 +2,7 @@ xterm -geometry 80x24 -bg orange -fg black -e bash -c ' + export DAQOPSERVER=hadesp31 echo Reloading RPC thresholds cd /home/hadaq/trbsoft/hadesdaq/rpc/ /home/hadaq/trbsoft/daq/rpc/trb3sc/thresholds/resetThresholdAllJan.sh diff --git a/hmon/QA.pm b/hmon/QA.pm index 9e00607..c17b743 100644 --- a/hmon/QA.pm +++ b/hmon/QA.pm @@ -58,9 +58,9 @@ $entries->{'rich'} = ['temp','LV','bkpl','isob','richthr']; #$entries->{'padiwa'} = ['ecal','start','sts','itof','hodo']; $entries->{'hv'} = ['richhv','ecalhv','rpchv','fwhv','tofhv']; #$entries->{'hv2'} = ['mdchv','stshv','frpchv','itofhv','valve']; -$entries->{'hv2'} = ['mdchv','','','','valve']; -$entries->{'misc'} = ['seu','calib','magnet','env','sequencer']; -$entries->{'misc2'} = ['ecal','m1','m2','m3','m4']; +$entries->{'hv2'} = ['mdchv','','','','sequencer']; +$entries->{'misc'} = ['seu','calib','magnet','env','valve']; +$entries->{'misc2'} = ['ecal','tdctot','m1','m2','m3']; $entries->{'pion'} = ['nxstatus', 'HV', 'HVcurr', 'cooling','seu']; @@ -146,20 +146,20 @@ use constant {CTSAddress => 0x0003}; ############################################################################### # Switched off systems ############################################################################### -our $MdcHvOff = 1; -our $RichHvOff = 1; -our $RichGasOff = 1; -our $TofHvOff = 1; -our $RpcHvOff = 1; +our $MdcHvOff = 0; +our $RichHvOff = 0; +our $RichGasOff = 0; +our $TofHvOff = 0; +our $RpcHvOff = 0; our $FwHvOff = 0; our $MagnetOff = 1; our $StsHvOff = 1; our $StartHvOff = 1; our $ItofHvOff = 1; our $FrpcHvOff = 1; -our $EcalHvOff = 1; +our $EcalHvOff = 0; -our $QAServerOff = 1; +our $QAServerOff = 0; ############################################################################### # Missing Boards diff --git a/hmon/doc/daq-busy.htt b/hmon/doc/daq-busy.htt index a499620..7962ec0 100644 --- a/hmon/doc/daq-busy.htt +++ b/hmon/doc/daq-busy.htt @@ -6,15 +6,15 @@ During normal operation, the full message gives the busy times for all sub-syste

Error Handling

    -
  • If there is a "sync" error reported at the same time, look there. +
  • If there is a "sync" error reported at the same time, look there (two fields right). -
  • If there is "readout waiting" reported, look there. +
  • If there is "readout waiting" reported, look there (one field right). -
  • If there is a "FEE Error" reported, look there. +
  • If there is a "FEE Error" reported, look there (in the middle left).
  • Do a DAQ Restart -
  • Note that the board shown here is often not the actual problem. Do a reload of DiRich, DiRich combiner first (plus DAQ restart), then try to solve a possible problem with the board listed here. +
  • Note that the board shown here is usually not the actual problem. Do a reload of Rich first (plus DAQ restart), then try to solve a possible problem with the board listed here.
diff --git a/hmon/doc/daq-timeouts.htt b/hmon/doc/daq-timeouts.htt index c2cc5f9..c455bfc 100644 --- a/hmon/doc/daq-timeouts.htt +++ b/hmon/doc/daq-timeouts.htt @@ -1,16 +1,13 @@

DAQ Timeouts

-This button gives information about not responding front-ends. +This button gives information about not responding front-ends. These are mainly the boards delivering the detector signals to the processing and readout boards. +
The list shows entries like "8292-0008 (7856 DiRICH)" - 7856 is the address of the missing board (decoded as DiRICH), 8292 the address of the hub it is connected to, 8 the port on this hub.

Error Handling

    -
  • If all addresses start with '2' (from MDC), try "Resync missing OEPs" -
  • If all addresses start with '7' (from RICH), try "Resync DiRich" +
  • If all addresses are MDC OEP, try "Resync missing OEPs" +
  • If all addresses are DiRICH, try "Resync DiRich"
  • Do a DAQ restart
  • If the same board shows errors repeatingly, try a reboot or power cycle of this subsystem.
- -

Additional Notes

-
    -
  • If the board is from MDC, and there is a "FEE Error" at the same time, an MDC LV power-cycle is needed. diff --git a/hmon/doc/daq-trbnet.htt b/hmon/doc/daq-trbnet.htt index 5748530..81f3fdf 100644 --- a/hmon/doc/daq-trbnet.htt +++ b/hmon/doc/daq-trbnet.htt @@ -5,12 +5,12 @@ to answer, or the network is completely out of order.

    Error Handling

    -This error typically pops up in combination with many other boxes showing errors. Follow the normal DAQ restart guidelines. +This error typically pops up in combination with many other boxes showing errors. Do a DAQ restart. -
    Error: RPC connection failed
    Restart the interface to the DAQ network, i.e. trbnetd. Then restart DAQ +
    Error: RPC connection failed
    Check if the interface computer hadesp31 is still running. Then restart DAQ (Note that "RPC" refers to "Remote Procedure Call", not our detector!)
    Error: Timeout
    The network failed to answer within the given amount of time. Try to restart the DAQ.
    Warning: One endpoint didn't react
    Restart DAQ
    Other Errors
    A DAQ restart should cure it.
    OK
    Don't touch a running system. -
    \ No newline at end of file +
    diff --git a/hmon/doc/hv-ecalhv.htt b/hmon/doc/hv-ecalhv.htt index 11d435b..d3048b6 100644 --- a/hmon/doc/hv-ecalhv.htt +++ b/hmon/doc/hv-ecalhv.htt @@ -1 +1,2 @@ -Just a monitor - if it's read, it's in the responsibility of the ECal operator +A simple monitor to check the HV settings in ECal. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv-fwhv.htt b/hmon/doc/hv-fwhv.htt index 8bc6575..de6d70f 100644 --- a/hmon/doc/hv-fwhv.htt +++ b/hmon/doc/hv-fwhv.htt @@ -1 +1,2 @@ -Just a monitor - if it's red, it's in the responsibility of the FW operator, please inform them. +A simple monitor to check the HV settings in Forward Wall. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv-richhv.htt b/hmon/doc/hv-richhv.htt index 7add09c..4142fa4 100644 --- a/hmon/doc/hv-richhv.htt +++ b/hmon/doc/hv-richhv.htt @@ -1,17 +1,2 @@ -

    RICH High Voltage

    -

    -This button gives you the minimum and maximum Voltage of the HV of the RICH detector. -If this is off, the MAPMTs are not in measuring condition! -

    Error Handling if the button is not Green

    - -
      -
    • HV is not in right condition. Are all channels on? -
    • Check HV status. Are all values in the target region? See reference Plot -in operator manual -
    • Call an expert immediately! -
    - - - - - +A simple monitor to check the HV settings in RICH. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv-rpchv.htt b/hmon/doc/hv-rpchv.htt index b0256c1..37cba44 100644 --- a/hmon/doc/hv-rpchv.htt +++ b/hmon/doc/hv-rpchv.htt @@ -1 +1,2 @@ -Just a monitor - if it's red, it's in the responsibility of the RPC operator, please inform them. +A simple monitor to check the HV settings in RPC. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv-tofhv.htt b/hmon/doc/hv-tofhv.htt index 3f32a2b..b039396 100644 --- a/hmon/doc/hv-tofhv.htt +++ b/hmon/doc/hv-tofhv.htt @@ -1 +1,2 @@ -Just a monitor - if it's red, it's in the responsibility of the TOF operator. Please inform them. +A simple monitor to check the HV settings in TOF. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv2-frpchv.htt b/hmon/doc/hv2-frpchv.htt index e69de29..c93db7e 100644 --- a/hmon/doc/hv2-frpchv.htt +++ b/hmon/doc/hv2-frpchv.htt @@ -0,0 +1,2 @@ +A simple monitor to check the HV settings in f-RPC. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv2-mdchv.htt b/hmon/doc/hv2-mdchv.htt index ed5130d..2bfd5dc 100644 --- a/hmon/doc/hv2-mdchv.htt +++ b/hmon/doc/hv2-mdchv.htt @@ -1 +1,2 @@ -Just a monitor - if it's red, it's in the responsibility of the MDC operator +A simple monitor to check the HV settings in MDC. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/misc-sequencer.htt b/hmon/doc/hv2-sequencer.htt similarity index 100% rename from hmon/doc/misc-sequencer.htt rename to hmon/doc/hv2-sequencer.htt diff --git a/hmon/doc/hv2-starthv.htt b/hmon/doc/hv2-starthv.htt index e69de29..a4129fe 100644 --- a/hmon/doc/hv2-starthv.htt +++ b/hmon/doc/hv2-starthv.htt @@ -0,0 +1,2 @@ +A simple monitor to check the HV settings in Start. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/hv2-stshv.htt b/hmon/doc/hv2-stshv.htt index e69de29..702c689 100644 --- a/hmon/doc/hv2-stshv.htt +++ b/hmon/doc/hv2-stshv.htt @@ -0,0 +1,2 @@ +A simple monitor to check the HV settings in STS. If some part is off / too low not all parts of the detector are active and data is lost. +
    Talk to the detector expert. In case of larger problems is might be advisable to stop data taking for a while until the problem is solved. diff --git a/hmon/doc/main-rate.htt b/hmon/doc/main-rate.htt index c871d23..f3cef6a 100644 --- a/hmon/doc/main-rate.htt +++ b/hmon/doc/main-rate.htt @@ -1,17 +1,22 @@

    CTS Current Rate

    -The current rate at which triggers are sent by the CTS. The rate should be constant, depending on the beam intensity and spill shape! +The current rate at which triggers are sent by the CTS. The rate should be constant (apart from changes due to spill shape), depending on the beam intensity. +
    200 Hz are common for a cosmics run, peaks of around 15 kHz are expected for AuAu, modulated by the spill shape every 12 seconds. +
    Try to remember common numbers / changes to notice if something behaves differently later on.

    Error Handling

    Rate is 0
    +DAQ is not running.
    • If a red 'sync' error is shown (second row, right), the problem can be found there.
    • If a red 'readout' error is shown (second row, right half), the problem can be found there.
    • Check the "Busy Boards" to see if a front-end has stopped working and is blocking the trigger.
    -Follow the usual restart DAQ guidelines to get the DAQ running again. -
    Rate is 2-5 Hz
    Typically this happens when only calibration triggers are sent and no additional triggers are generated. Make sure this is desired and trigger settings are right. -
    Unusual Value
    Check the CTS settings if the right trigger source is selected. Check the beam detectors to see if there is an accelerator problem. +
    Rate is 2-5 Hz
    Typically this happens when only calibration triggers are sent and no additional triggers are generated. Make sure this is desired and trigger settings are right. Check if beam intensity is correct. +
    Consult the Eventrate Monitor and Spill Structure (Start X) monitoring to differentiate between an accelerator problem or a problem on the HADES side. Check the "Beam Abort" box to see if our system triggered the accelerator to switch off. + +
    Unusual Value
    The rate might be much lower or higher than seen during other spills. Check the CTS settings if the right trigger source is selected. Check the beam detectors to see if there is an accelerator problem. Check the HV if it is on on all detectors. Check the rate monitors to see if some channels are very noisy and block the DAQ. +
    Do a DAQ restart to see if anything changes.
    diff --git a/hmon/doc/hv2-valve.htt b/hmon/doc/misc-valve.htt similarity index 100% rename from hmon/doc/hv2-valve.htt rename to hmon/doc/misc-valve.htt diff --git a/hmon/doc/padiwa-ecal.htt b/hmon/doc/misc2-ecal.htt similarity index 100% rename from hmon/doc/padiwa-ecal.htt rename to hmon/doc/misc2-ecal.htt diff --git a/hmon/hmon_tdcchanerrors_testmonitor.pl b/hmon/permanent/hmon_tdcchanerrors_testmonitor.pl similarity index 100% rename from hmon/hmon_tdcchanerrors_testmonitor.pl rename to hmon/permanent/hmon_tdcchanerrors_testmonitor.pl -- 2.43.0