]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
MDC upgrade registers
authorhadaq <hadaq@hades33.gsi.de>
Thu, 29 Aug 2024 13:25:01 +0000 (15:25 +0200)
committerhadaq <hadaq@hades33.gsi.de>
Thu, 29 Aug 2024 13:25:01 +0000 (15:25 +0200)
web/htdocs/addons/mdcupgrade.pl
xml-db/database/MDCUpgrade.xml

index e6468fa021515dc42124123dd39c64e04f20ee26..59a69beb4c8c0ad8f421db0b511c03e95b2c00e2 100755 (executable)
@@ -35,12 +35,30 @@ push(@setup,({name      => "SpikeCount",
               rates     => 1,
               address   => 1}));              
 
-push(@setup,({name      => "HitCount", 
+push(@setup,({name      => "AllHitCount", 
               cmd       => "InputMonitorTrb3sc-0xfe91-MonitorCounters",
               period    => 1000,
               rates     => 1,
               address   => 1}));              
 
+push(@setup,({name      => "SavedHitCount", 
+              cmd       => "MDCUpgrade-0xfe91-SavedHitCounter",
+              period    => 1000,
+              rates     => 1,
+              address   => 1}));              
+
+push(@setup,({name      => "TdcErrorCount", 
+              cmd       => "MDCUpgrade-0xfe91-TdcErrorCounter",
+              period    => 1000,
+              rates     => 1,
+              address   => 1}));              
+
+#push(@setup,({name      => "ToTExceededCount", 
+#              cmd       => "MDCUpgrade-0xfe91-ToTExceededCounter",
+#              period    => 1000,
+#              rates     => 1,
+#              address   => 1}));              
+
 push(@setup,({name      => "OEPControl", 
               cmd       => "MDCUpgrade-0xfe90-OepConfig",
               period    => 1000,
index a64ac023186213974f8c0f18e18c2d6ff2edc8fe..537c29b4146509081256a65cb09f92ba139c6503 100644 (file)
   <group name="ToTExceededCounter" address="c140"  size="32"  purpose="status" mode="r" continuous="true">
     <register name="ToTExceededCount" address="0000" repeat="32">
       <description>Counter for hits rejected due to too long ToT</description>
-      <field name="ToTExceededCounter" start="8" bits="24" format="unsigned" rate="true" noflag="true" mode="r" />
+      <field name="ToTExceededCounter" start="8" bits="16" format="unsigned" rate="true" noflag="true" mode="r" />
     </register>
   </group>
 
   <group name="TdcErrorCounter" address="c160"  size="32"  purpose="status" mode="r" continuous="true">
     <register name="TdcErrorCount" address="0000" repeat="32">
-      <description>Counter for hits with decoding error in TDC</description>
-      <field name="TdcErrorCount" start="0" bits="24" format="unsigned" rate="true" noflag="true" mode="r" />
+      <description>Counter for hits with decoding error in TDC. Usually due to too short signals.</description>
+      <field name="TdcErrorCount" start="0" bits="16" format="unsigned" rate="true" noflag="true" mode="r" />
     </register>
   </group>