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";
}
-$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 &");
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);
}