]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
created a website for Shutdown logic
authorFlorian Marx <fmarx@jspc71.x-matter.uni-frankfurt.de>
Wed, 21 Apr 2021 09:48:41 +0000 (11:48 +0200)
committerFlorian Marx <fmarx@jspc71.x-matter.uni-frankfurt.de>
Wed, 21 Apr 2021 09:48:41 +0000 (11:48 +0200)
xml-db/database/ShutdownLogic.xml [new file with mode: 0644]
xml-db/database/TriggerLogic.xml

diff --git a/xml-db/database/ShutdownLogic.xml b/xml-db/database/ShutdownLogic.xml
new file mode 100644 (file)
index 0000000..4eaa8da
--- /dev/null
@@ -0,0 +1,74 @@
+<?xml version="1.0"  encoding="utf-8" ?>
+<TrbNetEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+              xsi:noNamespaceSchemaLocation="../schema/TrbNetEntity.xsd"
+              name="ShutdownLogic"
+              address="e000"
+              >
+  <description> Shutdown Logic </description>
+  
+  
+  <group name="ConfigRegisters" address="0000" purpose="config" mode="rw" >
+    <!--                                      INDIVIDUAL Registers                         -->
+    <register name="Indiv_Timewindow" address="0000" repeat="32">
+      <description>Set the individual Timewindows for every single channel</description>
+        <field name="Indiv_Timewindow" start="0" bits="32" format="unsigned" unit="&#x03BC;s" scale="100" >
+          <description>The size of the checked Timewindow, given in multiples of 0,1ms.</description>
+        </field>
+    </register>
+    <register name="Indiv_Limit" address="0100" repeat="32">
+      <description>Set the maximal values of Hits for every individual channels</description>
+        <field name="Indiv_Limit" start="0" bits="32" format="unsigned" unit="hits" >
+          <description>Set the maximal values of Hits for every individual channels</description>
+        </field>
+    </register>  
+    <!--                                      COMBINED Registers                           -->
+     <!--                                     Eindeutiger formulieren                          -->
+    <register name="Combined_max" address="0200" >
+      <description>How many single channels are allowed to fail simultaneously</description>
+        <field name="Combined_max" start="0" bits="32" format="unsigned"  >
+          <description>How many single channels are allowed to fail simultaneously</description>
+        </field>
+    </register> 
+    <register name="Channel_Disable" address="0300">
+      <description>Option to disable single channels</description>
+        <field name="Channel_Disable" start="0" bits="24" format="bitmask"  >
+          <description>Option to disable single channels</description>
+        </field>
+    </register>
+    <register name="ONOFF_Switch" address="0600">
+      <description>Switch off the whole Shutdown Logic</description>
+        <field name="ONSwitch" start="0" bits="1" format="bitmask"  >
+          <description>Switch off the whole Shutdown Logic</description>
+        </field>
+    </register>
+ <!-- </group>
+
+    
+    
+  <group name="StatusRegisters" address="0400" purpose="status" mode="r" >  -->
+    <register name="Current_count" address="0400" mode="r" repeat="32">
+      <description> Value of the currently countet Hits</description>
+      <field name="Current_count" start="0" bits="24" format="unsigned" unit="hits" >
+        <description>Value of the currently countet Hits</description>
+      </field>
+    </register>
+    <register name="Individual_alerts" address="0500" mode="r">
+      <description> Single alert bits </description>
+        <field name="Individual_alerts" start="0" bits="24" format="bitmask"  >
+        <description> Single alert bits </description>
+      </field>
+    </register>
+    <register name="Final_ShutdownPulse" address="0700" mode="r">
+      <description> Indication, if Shutdown Pulse is active. </description>
+        <field name="Final_ShutdownPulse" start="0" bits="1" format="bitmask"  >
+        <description> Indication, if Shutdown Pulse is active. </description>
+      </field>
+    </register>
+    
+    
+  </group>
+
+  
+</TrbNetEntity>
+
+    <!--                                  Statusregister ??                          -->
index 89697858578a95d698c6591846940d2db2c93034..dbe3a747de672e46183bb073434edf7432849391 100644 (file)
@@ -60,7 +60,8 @@
  
     <register name="StretchDetails" address="0200" repeat="32">
       <description>Delay time on Bits 7 downto 0</description>
-        <field name="StretchType" start="16" bits="2" format="unsigned">                  <!-- ENUM! einsetzen statt unsigned -->
+        <field name="StretchType" start="16" bits="2" format="unsigned">                  
+          <!-- ENUM! einsetzen statt unsigned -->
           <description>Set the Stretchtype</description>
         </field>
         <field name="StretchTime" start="0" bits="10" format="unsigned">