]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
xml-db: Added group for repeated register
authorhadaq@CountingHouse <hadaq@CountingHouse>
Wed, 16 Apr 2014 17:18:30 +0000 (19:18 +0200)
committerhadaq@CountingHouse <hadaq@CountingHouse>
Wed, 16 Apr 2014 17:18:42 +0000 (19:18 +0200)
web/htdocs/tdc/tdcstatctrl.pl
xml-db/database/TDC.xml
xml-db/get.pl

index a552bf3ff3ff91a1db4a5eec454eb39134d9e304..7a2c1ab8df693bed35953de5a8ddeca7e81e7a84 100755 (executable)
@@ -35,7 +35,7 @@ $setup[1]->{period}  = -1;
 
 
 $setup[2]->{name}    = "Inputs";
-$setup[2]->{cmd}     = "TDC-0xfe48-Channel-rate";
+$setup[2]->{cmd}     = "TDC-0xfe48-ChannelCounter-rate";
 $setup[2]->{refresh} = 1;
 $setup[2]->{period}  = 1000;
 
index a1839c80d36cc8ab8c5c947035168280098edd38..0506ff3e1e71115668d5315a4dae1207dfe46d1a 100644 (file)
@@ -9,6 +9,7 @@
   <!--===========================================-->
   <!-- TDC Channels                              -->
   <!--===========================================-->
+  <group name="ChannelCounter" purpose="statistics" address="0000"  mode="r" continuous="true" size="65" >
   <register name="Channel" address="0000" mode="r" repeat="65">
     <description>Channel-specific information</description>
     <field name="HitCounter" start="0" bits="24" format="unsigned" purpose="statistics" rate="1">
@@ -20,7 +21,7 @@
       <enumItem value="1">High</enumItem>
     </field>
   </register>
-
+  </group>
 
 
   <!--===========================================-->
index 706388a4e0043734b7543d82a2d98fc611b8e1a1..f4677bda62d0aa37be3120b416abd5e8fa857bd4 100755 (executable)
@@ -477,7 +477,7 @@ sub runandprint {
         }
       
       #### Show the beautiful result...
-      if($isb1rowser == 0) {
+      if($isbrowser == 0) {
         print $t->render;
         }
       else {