xterm -geometry 80x24 -bg orange -fg black -e bash -c '
ssh hadaq@lxhadeb12p "
/home/hadaq/bin/restart_bnetmaster.sh
- echo closing window in 5 secs...
+ echo Done
sleep 5
"
'
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
ssh hadaq@lxhadeb12p "
/home/hadaq/bin/restart_rawmon.sh
- echo closing window in 5 secs...
+ echo Done
sleep 5
"
'
ssh scs@lxhadeb06 "
echo Re-starting Sequencers
echo -en \"\x18\"| netcat -w 1 localhost 4813
+ echo Done
sleep 5
"
'
echo \"Loading STS Pasttrec settings finished\"
+ echo Done
sleep 10
"
'
#ssh -X -l scs lxhadeb06 '. /home/scs/.profile; medm -x hades.adl'
xterm -geometry 80x24 -bg green -fg black -e bash -c "
ssh hadaq@hadesp33 'cd /home/hadaq/trbsoft/daq/hmon; PERL5LIB=. perl ./permanent/hmon_archiver.pl once'
- sleep 1000
+ echo Done
+ sleep 120
";
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;
+ echo Done
sleep 5
"
'
echo \"Starting a RPC/ECAL power cycle...\"
cd /home/hadaq/hadesdaq/utils;
PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./ECAL_Powercycle.pl;
+ echo Done
+
sleep 5
"
'
echo \"Starting a HUB-Power-Cycle...\"
cd /home/hadaq/hadesdaq/utils;
PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./HUB_Powercycle.pl;
+ echo Done
+
sleep 5
"
'
echo \"Starting a Hodoscope power cycle...\"
cd /home/hadaq/hadesdaq/utils;
bash Powercycle_Hodo.sh;
+ echo Done
+
sleep 5
"
'
echo \"Starting a RICH power cycle...\"
cd /home/hadaq/trbsoft/hadesdaq/utils;
PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./RICH_Powercycle.pl;
+ echo Done
+
sleep 5
"
'
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;
+ echo Done
+
sleep 5
"
'
echo \"Starting a STS / fRPC Power-Cycle...\"
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
+ echo Done
+
sleep 5
"
'
echo \"Starting a Start power cycle...\"
cd /home/hadaq/hadesdaq/utils;
bash Powercycle_Start.sh;
+ echo Done
+
sleep 5
"
'
echo \"Starting a MDC/TOF/Central power cycle...\"
cd /home/hadaq/hadesdaq/utils;
PERLLIB=/home/hadaq/EPICS/EPICS-3.15.6/base/lib/perl ./MdcTofCentral_Powercycle.pl;
+ echo Done
sleep 5
"
'
echo \"Starting a power cycle of Triggerbox and Beam Monitoring...\"
cd /home/hadaq/hadesdaq/utils;
bash Powercycle_Trigger.sh;
+ echo Done
+
sleep 5
"
'
echo \"Starting a iTOF Padiwa power cycle...\"
cd /home/hadaq/hadesdaq/utils;
bash Powercycle_itof_padiwa.sh;
+ echo Done
+
sleep 5
"
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe51
+ echo Done
+
sleep 5
"
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe71
+ trbcmd reload 0x120
+ echo Done
+
sleep 10
"
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe40
-
+ echo Done
+
sleep 10
"
'
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
+ echo Done
+
sleep 10
"
'
export DAQOPSERVER=hadesp31
trbcmd reset
trbcmd reload 0xfe11
+ trbcmd reload 0xfe15
+ echo Done
+
sleep 8
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe66
+ echo Done
+
sleep 10
"
'
trbcmd reload 0x84c2
trbcmd reload 0x84c3
trbcmd reload 0x84c4
- trbcmd reload 0x84c5
+ trbcmd reload 0x84c5
+ echo Done
+
sleep 10
"
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe61
+ echo Done
sleep 10
"
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe52
+ echo Done
+
sleep 10
"
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
trbcmd reload 0xfe4c
+ trbcmd reload 0x8890
+ trbcmd reload 0x8b00
+ trbcmd reload 0x8b01
+ trbcmd reload 0x8b02
+ trbcmd reload 0x8b03
+ trbcmd reload 0x8b10
+ trbcmd reload 0x8b11
+ trbcmd reload 0x8b12
+ trbcmd reload 0x8b13
+ trbcmd reload 0x8b14
+ trbcmd reload 0x8b15
+ echo Done
+
sleep 10
"
'
source /home/hadaq/.bash_profile
trbcmd reload 0xfe74
trbcmd reload 0xfe76
+ trbcmd reload 0x8880
+ trbcmd reload 0x8d00
+ echo Done
+
sleep 10
"
'
ssh hadaq@lxhadesdaqp "
source /home/hadaq/.bash_profile
/home/hadaq/trbsoft/daq/nettools/missingipfix.pl
+ echo Done
+
sleep 10
"
'
sleep 1
echo "reload the BLR settings"
command_client.pl -e etraxp107 -c "spi_trbv2_7 /home/hadaq/cts/mult_thresholds/ctsblr_thresholds"
+ echo Done
sleep 4
'
--- /dev/null
+#!/bin/bash
+
+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
+ echo Done
+ sleep 2
+ "
+'
+
+
+
ssh hadaq@lxhadesdaqp "
export DAQOPSERVER=hadesp31
echo \" <Start> Setting Thresholds...\"
- cd /home/hadaq/trbsoft/hadesdaq/hodo/thresholds/
+ cd /home/hadaq/trbsoft/hadesdaq/hodo/
./set_threshold_hodo.sh
echo \"Done\"
sleep 10
echo Reloading fRPC thresholds
cd /home/hadaq/trbsoft/hadesdaq/frpc/
/home/hadaq/trbsoft/daq/frpc/setThreshold.sh
-
+ echo Done
sleep 5
'
-
-notifyall.sh "DAQ" "<I> RPC-Thresholds have been reloaded." "RPC" &