]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
edited
authorCahit Ugur <c.ugur@gsi.de>
Wed, 3 Jul 2013 13:29:43 +0000 (15:29 +0200)
committerCahit Ugur <c.ugur@gsi.de>
Wed, 3 Jul 2013 13:29:43 +0000 (15:29 +0200)
users/mainz_dircBarrel/start_readout.pl

index 16d04b57a083b13da523ab7d0ff753ed84ee2da6..2e19b0c5b91718f1409b38ac7eebfe3e21c1e1c4 100755 (executable)
@@ -6,7 +6,7 @@ use Getopt::Long;
 my $help = "";
 my $dataPath = "~/trbsoft/data";
 my $source1 = "50000"; # don't use 50001
-my $source2 = "50002"; # it is assign for GbE debug
+my $source2 = "50002"; # it is assigned for GbE debug
 my $source3 = "50003";
 my $source4 = "50004";
 my $source5 = "50005";
@@ -33,14 +33,14 @@ if($help) {
 }
 
 
-$c=q|pkill -f "daq_evtbuild -S madiba"|; qx($c); # if any, kill existing daq_evtbuild
-$c=q|pkill -f "daq_netmem -S madiba"|;   qx($c); # if any, kill existing daq_netmem
+$c=q|pkill -f "daq_evtbuild -S test"|; qx($c); # if any, kill existing daq_evtbuild
+$c=q|pkill -f "daq_netmem -S test"|;   qx($c); # if any, kill existing daq_netmem
 
 
-$c=q|xterm -geometry 122x14-0+0 -e bash -c 'daq_evtbuild -S madiba -m 4 -d file -o ~/trbsoft/data'|;
+$c=q|xterm -geometry 122x14-0+0 -e bash -c 'daq_evtbuild -S test -m 4 -d file -o ~/trbsoft/data'|;
 system("$c &");
 sleep 1;
-$c="xterm -geometry 82x10-0+210 -e bash -c 'daq_netmem -S madiba -m 4 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003 -i UDP:127.0.0.1:50004 '";
+$c="xterm -geometry 82x10-0+210 -e bash -c 'daq_netmem -S test -m 4 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003 -i UDP:127.0.0.1:50004 '";
 system("$c &");
 
 
@@ -50,6 +50,6 @@ if($time == -1) {
 else {
     print "Data taking will run for $time seconds.\n\n";
     sleep $time;
-    $c=q|pkill -f "daq_evtbuild -S madiba"|; qx($c);
-    $c=q|pkill -f "daq_netmem -S madiba"|;   qx($c);
+    $c=q|pkill -f "daq_evtbuild -S test"|; qx($c);
+    $c=q|pkill -f "daq_netmem -S test"|;   qx($c);
 }