From: Jan Michel Date: Mon, 8 Jul 2013 15:56:53 +0000 (+0200) Subject: first detector setup, startup script X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f4a5df71791607427dea01a08834ae348d2d9d3e;p=mvdsensorcontrol.git first detector setup, startup script --- diff --git a/tools/startup.pl b/tools/startup.pl new file mode 100755 index 0000000..02792e0 --- /dev/null +++ b/tools/startup.pl @@ -0,0 +1,21 @@ +#!/usr/bin/perl + +use warnings; +use File::chdir; + + +die "DAQOPSERVER not set in environment. Points to trbnetd that provides access to TRB.\n" unless (defined $ENV{'DAQOPSERVER'}); +die "JTAGPATH not set in environment. Points to JTAG tools (e.g. ui.pl).\n" unless (defined $ENV{'JTAGPATH'}); +die "JTAGCONFIGPATH not set in environment. Points to JTAG config files (e.g. chains.ini).\n" unless (defined $ENV{'JTAGCONFIGPATH'}); + + +local $CWD = $ENV{'JTAGPATH'}; +qx(./ui.pl -b board01 -o waitbeforestart_6us); +qx(./ui.pl -b board01 -c newchain1 -o "delay1"); +qx(./ui.pl -b board01 -c newchain1 -o "prog_ram"); +qx(./ui.pl -b board01 -c newchain1 -o "set_timing_10mhz"); +qx(./ui.pl -b board01 -c newchain1 -o "set_inout"); +qx(./ui.pl -b board01 -c newchain1 -o "maps_reset_before_off"); +qx(./ui.pl -b board01 -c newchain1 -o "maps_reset_after_on"); +qx(./ui.pl -b board01 -o trigger_init_sequence); + diff --git a/xml_spielwiese/detectorsetup.xml b/xml_spielwiese/detectorsetup.xml new file mode 100644 index 0000000..9e4c70a --- /dev/null +++ b/xml_spielwiese/detectorsetup.xml @@ -0,0 +1,33 @@ + + + The main MVD prototype system setup file + + + + Dat Ding in der letzten Reihe rechts + + + + + + + + + + + + + +