From 5d13191f0e09b9220cafd474289e8874f4b6de25 Mon Sep 17 00:00:00 2001 From: Cahit Date: Fri, 12 Jul 2013 13:16:41 +0200 Subject: [PATCH] extra options for the readout script --- users/mainz_dircBarrel/start_readout.pl | 27 +++++++++++++++---------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/users/mainz_dircBarrel/start_readout.pl b/users/mainz_dircBarrel/start_readout.pl index e1fe61b..ad0594e 100755 --- a/users/mainz_dircBarrel/start_readout.pl +++ b/users/mainz_dircBarrel/start_readout.pl @@ -16,9 +16,9 @@ my $c; my $result = GetOptions ( "h|help" => \$help, - "t|time=i" => \$time#, -# "l|label=s" => \$label, -# "p|path=s" => \$dataPath + "t|time=i" => \$time, + "l|label=s" => \$label, + "p|path=s" => \$dataPath ); if($help) { @@ -26,23 +26,28 @@ if($help) { print "-h --help\tPrints the usage manual\n"; print "-t --time\tDefine length of time in seconds for data taking (Default = -1)\n"; print "\t\tFor unlimited data taking define