]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
parsing of system xml files: renamed top level node <DaqSetup> to <system> to reduce...
authorwww@jspc55 <www@jspc55>
Mon, 30 Jun 2014 11:57:17 +0000 (13:57 +0200)
committerwww@jspc55 <www@jspc55>
Mon, 30 Jun 2014 11:57:17 +0000 (13:57 +0200)
tools/start.pl

index 403ac41e6d3efdc49e522f9ac45999e0fa618671..e492cb08de9fb1fa8137cbafa91d9d374b6f2e5e 100755 (executable)
@@ -35,7 +35,7 @@ unless(-e $systemFile) {die "System file $systemFile not found\n";}
 my $parser = XML::LibXML->new(line_numbers => 1);
 my $db = $parser->parse_file($systemFile);
 
-my $ccu = hex($db->findvalue("/DaqSetup/ccu/\@address"));
+my $ccu = hex($db->findvalue("/system/ccu/\@address"));
 my(@hub,@gbe,@roc);
 for my $n ($db->findnodes("//hub")) {
   push(@hub,hex($n->findvalue("./\@address")));