use warnings;
use POSIX;
use CGI ':standard';
+
use Cwd;
use CGI::Carp qw(fatalsToBrowser);
use HTML::Entities;
my $runtime = 0.2;
my $dumpPath = "/tmp/MAPS_PREV/";
-
-unless(-e $dumpPath or mkdir $dumpPath) {
- die "Unable to create $dumpPath\n";
-}
-
my $picPath = "../temp/prevImgs/";
-unless(-e $picPath or mkdir $picPath) {
- die "Unable to create $picPath\n";
-}
my $q = CGI->new;
-style=>{'src'=>'../layout/styles.css'}
);
+if( $q->param('runtime') ) {
+ $runtime = $q->param('runtime');
+}
$ENV{'PATH'}=$ENV{'PATH'}.":/local.1/bastelstube/daqdata/bin";
# print br,$ENV{'PATH'},br;
$ENV{'JTAGPATH'}="/local.1/jtag_mvd/soft/toolbox/jtag_atomic/";
$ENV{'DAQOPSERVER'}="localhost:7";
+unless(-e $dumpPath or mkdir $dumpPath) {
+ die "Unable to create $dumpPath\n";
+}
+
+unless(-e $picPath or mkdir $picPath) {
+ die "Unable to create $picPath\n";
+}
system("./startup.pl ../setup/testsetup.xml");
# chdir("preview");