]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
latest changes
authorHadaq@styx <hadaq@styx>
Mon, 21 Oct 2013 15:08:50 +0000 (17:08 +0200)
committerHadaq@styx <hadaq@styx>
Tue, 12 Nov 2013 18:32:21 +0000 (19:32 +0100)
users/cosy_test/config/startup.sh
users/cosy_test/config/trbstart.sh
users/cosy_test/evtbuilder_start.sh

index f421b50b2b7dea8216131cce157483340a20e3eb..f34edda6fd1af3253b7d84d675310f2f5c12c402 100755 (executable)
@@ -1,16 +1,23 @@
 #!/bin/bash
 
-echo "Using Daqopserver $DAQOPSERVER."
+echo "================================"
+echo "++ Using Daqopserver $DAQOPSERVER."
 
-echo "Run Reset"
+echo "++ Run Reset"
 trbcmd reset
 
-
 #Network configuration
+echo "++ DHCP"
 ./dhcp.sh
+echo "++ HUB"
 ./hubconfig.sh
 
 #Front-end configuration
+echo "++ TRB"
 ./trbstart.sh
+echo "++ nXYTER"
 ./nxyter.sh
-./cts.sh
\ No newline at end of file
+echo "++ CTS"
+./cts.sh
+echo "================================"
+echo "done, hit Enter to exit"
index 5ef48b2e07332e967b1cea63b377117981c14ccb..6d12a4657fb121d9094d0dcf87cbc95b38729a43 100755 (executable)
@@ -7,8 +7,15 @@ echo "Setting up Start TRB"
 
 TRBNUM=129
 
-../../../tools/command_client.pl -e etraxp$TRBNUM -c 'spi_trbv2_rl /home/hadaq/start_and_veto/thresholds_test'
+#../../../tools/command_client.pl -e etraxp$TRBNUM -c 'spi_trbv2_rl /home/hadaq/start_and_veto/thresholds_test'
+../../../tools/command_client.pl -e etraxp$TRBNUM -c 'spi_trbv2_rl /home/hadaq/start/run.cfg'
+
 ../../../tools/command_client.pl -e etraxp$TRBNUM -c "cd /home/hadaq/scripts/; ./trbv2_TDCs_configure.sh ${TRBNUM}"
-../../../tools/command_client.pl -e etraxp$TRBNUM -c 'rw_trbv2 --trb w 0 c2 007E0100; rw_trbv2 --trb w 0 c0 0a000000; rw_trbv2 --trb w 0 c3 00000100'
+
+# hi res for Start
+#../../../tools/command_client.pl -e etraxp$TRBNUM -c 'rw_trbv2 --trb w 0 c2 007E0100; rw_trbv2 --trb w 0 c0 0a000000; rw_trbv2 --trb w 0 c3 00000100'
+
+# low res for TOF                                                                | here is the change
+../../../tools/command_client.pl -e etraxp$TRBNUM -c 'rw_trbv2 --trb w 0 c2 007E0000; rw_trbv2 --trb w 0 c0 0a000000; rw_trbv2 --trb w 0 c3 00000100'
 
 
index d21af62818328feb130cc28e9f54f820103c7c21..5401df0f88f94f7675d3ba7628d04d9db7321a6e 100755 (executable)
@@ -42,21 +42,21 @@ sdopts="--resdownscale 20 --resnumevents 2000 --respath ${sdest} --ressizelimit
 extraopts="--online"
 [ ${sden} -eq 1 ] && extraopts="$sdopts"
 
-./evtbuilder_stop.sh
+$(dirname ${BASH_SOURCE})/evtbuilder_stop.sh
 
 [ ! -e $tmpdir ] && mkdir -p $tmpdir
 cd $tmpdir
 
 # source ${HOME}/bin/trbnet_env.sh
 
-exec uxterm -bg khaki -geometry 120x20+900+45 -e "/home/hadaq/bin/daq_evtbuild -m 2 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file ${extraopts}; read; bash" &
+exec uxterm -bg khaki -geometry 120x19+945+35 -e "/home/hadaq/bin/daq_evtbuild -m 2 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file ${extraopts}; read; bash" &
 # exec uxterm -bg khaki -geometry 120x20+900+45 -e "/home/hadaq/bin/daq_evtbuild -m 3 -o ${dest} -x ${pref} -I 1 --ebnum 1 -q 32 -S test -d file ${extraopts}; read ; bash" &
 pid=$!
 echo $pid > $tmpdir/.daq_evtbuild.pid
 
 sleep 1
 
-exec uxterm -bg tan -geometry 120x20+900+345 -e "/home/hadaq/bin/daq_netmem -m 2 -i UDP:0.0.0.0:50008 -i UDP:0.0.0.0:50009 -q 32 -d 1 -S test ;  " &
+exec uxterm -bg tan -geometry 120x19+945+320 -e "/home/hadaq/bin/daq_netmem -m 2 -i UDP:0.0.0.0:50008 -i UDP:0.0.0.0:50009 -q 32 -d 1 -S test ;  " &
 # exec uxterm -bg tan -geometry 120x20+900+345 -e "/home/hadaq/bin/daq_netmem -m 3 -i UDP:0.0.0.0:50000 -i UDP:0.0.0.0:50008 -i UDP:0.0.0.0:50009 -q 32 -d 1 -S test ; read ; bash " &
 pid=$!
 echo $pid > $tmpdir/.daq_netmem.pid