From 2511a60cac0b679952216ea114a09944f88222ce Mon Sep 17 00:00:00 2001 From: hadaq Date: Wed, 6 Feb 2019 14:19:10 +0100 Subject: [PATCH] cleanup 6-feb-2019 cs --- users/gsi_dirc/prepare_padiwas_invert_leds.pl | 2 ++ users/gsi_dirc/readout.pl | 17 +++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/users/gsi_dirc/prepare_padiwas_invert_leds.pl b/users/gsi_dirc/prepare_padiwas_invert_leds.pl index 3d9291d..d351a24 100755 --- a/users/gsi_dirc/prepare_padiwas_invert_leds.pl +++ b/users/gsi_dirc/prepare_padiwas_invert_leds.pl @@ -63,6 +63,8 @@ print "\n"; print "\tset temp compensation to 0x02c0 "; execute_command("comp 0x02c0"); +#print "\tset temp compensation to 0x0"; +#execute_command("comp 0x0"); $pm->wait_all_children; print "\n"; diff --git a/users/gsi_dirc/readout.pl b/users/gsi_dirc/readout.pl index 7733861..7a63a36 100755 --- a/users/gsi_dirc/readout.pl +++ b/users/gsi_dirc/readout.pl @@ -4,10 +4,10 @@ use strict; use Getopt::Long; my $help = ""; -my $dataPath = "/d/oct2016/"; -my $label = "test"; +my $dataPath = "/d/sep2018/"; +my $label = "cern"; my $time = -1; -my $name = "cc"; +my $name = "pilas_"; my $old; my $c; @@ -53,8 +53,10 @@ if(!defined $old) { } else { - $c=qq|xterm -geometry 122x15-0+0 -e bash -c 'daq_evtbuild -S $label -m 5 -x $name --filesize 1536 -d file -o $dataPath'|; - #$c=qq|xterm -geometry 122x15-0+0 -e bash -c 'daq_evtbuild -S $label -m 10 -x $name --filesize 1536 -d file -o $dataPath'|; + #$c=qq|xterm -geometry 122x15-0+0 -e bash -c 'daq_evtbuild -S $label -m 9 -x $name --filesize 1536 -d file -o $dataPath'|; + + $c=qq|xterm -geometry 122x15-0+0 -e bash -c 'daq_evtbuild -S $label -m 6 -x $name --filesize 1536 -d file -o $dataPath'|; + #2016 $c=qq|xterm -geometry 122x15-0+0 -e bash -c 'daq_evtbuild -S $label -m 10 -x $name --filesize 1536 -d file -o $dataPath'|; #$c=qq|xterm -geometry 122x16-0+0 -e bash -c 'daq_evtbuild -S $label -m 23 -x $name -d file -o $dataPath'|; print "test"; print $dataPath; @@ -64,11 +66,14 @@ else { system("$c &"); sleep 1; - $c=qq"xterm -geometry 82x45-0+210 -e bash -c 'daq_netmem -S $label -m 5 -i UDP:127.0.0.1:49999 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50001 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003'";; +# $c=qq"xterm -geometry 82x45-0+210 -e bash -c 'daq_netmem -S $label -m 3 -i UDP:127.0.0.1:49999 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50001'"; + #$c=qq"xterm -geometry 82x45-0+210 -e bash -c 'daq_netmem -S $label -m 6 -i UDP:127.0.0.1:49999 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50001 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003 -i UDP:127.0.0.1:50004'"; + #$c=qq"xterm -geometry 82x45-0+210 -e bash -c 'daq_netmem -S $label -m 10 -i UDP:127.0.0.1:49999 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50001 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003 -i UDP:127.0.0.1:50004 -i UDP:127.0.0.1:50005 -i UDP:127.0.0.1:50006 -i UDP:127.0.0.1:50007 -i UDP:127.0.0.1:50008'"; + $c=qq"xterm -geometry 82x44-0+234 -e bash -c 'daq_netmem -S $label -m 6 -i UDP:127.0.0.1:49999 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50001 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003 -i UDP:127.0.0.1:50004; sleep 2 '"; #$c=qq"xterm -geometry 82x44-0+234 -e bash -c 'daq_netmem -S $label -m 23 -i UDP:127.0.0.1:50000 -i UDP:127.0.0.1:50001 -i UDP:127.0.0.1:50002 -i UDP:127.0.0.1:50003 -i UDP:127.0.0.1:50004 -i UDP:127.0.0.1:50005 -i UDP:127.0.0.1:50006 -i UDP:127.0.0.1:50007 -i UDP:127.0.0.1:50008 -i UDP:127.0.0.1:50009 -i UDP:127.0.0.1:50010 -i UDP:127.0.0.1:50011 -i UDP:127.0.0.1:50012 -i UDP:127.0.0.1:50013 -i UDP:127.0.0.1:50014 -i UDP:127.0.0.1:50015 -i UDP:127.0.0.1:50016 -i UDP:127.0.0.1:50017 -i UDP:127.0.0.1:50018 -i UDP:127.0.0.1:50019 -i UDP:127.0.0.1:50020 -i UDP:127.0.0.1:50021 -i UDP:127.0.0.1:50022; sleep 2'"; -- 2.43.0