Difference between revisions of "ROC Configuration File to User Event"

From Hall A Wiki
Jump to: navigation, search
Line 4: Line 4:
 
== Example Structure (xml format) ==
 
== Example Structure (xml format) ==
  
 +
=== hex dump ===
 +
501599
 +
0x821000
 +
656
 +
0x64301
 +
  ....
 +
500940
 +
0x60302
 +
  ....
 +
 +
 +
=== xml format ===
 
  <nowiki>
 
  <nowiki>
 +
<!-- ===================== Buffer 3 contains 501600 words (2006400 bytes) ===================== -->
 +
 +
  <!-- header words: 501599, 0x821000 -->
 +
  <event format="evio" count="3" content="bank" data_type="0x10" tag="130" padding="0" num="0" length="501599" ndata="501598">
 +
 +
      <!-- header words: 656, 0x64301 -->
 +
      <bank content="string" data_type="0x3" tag="6" padding="1" num="1" length="656" ndata="1">
 +
      </bank>
 +
 +
      <!-- header words: 500940, 0x60302 -->
 +
      <bank content="string" data_type="0x3" tag="6" padding="0" num="2" length="500940" ndata="1">
 +
      </bank>
 +
  </event>
 +
 +
  <!-- end buffer 3 -->
  
  
 
  </nowiki>
 
  </nowiki>

Revision as of 01:53, 13 October 2021

Here we'll describe the user event structure that contains the configuration files used by the ROCs to initialize various modules and settings.


Example Structure (xml format)

hex dump

501599
0x821000
656
0x64301
 ....
500940
0x60302 
 ....


xml format

 <!-- ===================== Buffer 3 contains 501600 words (2006400 bytes) ===================== -->

   <!-- header words: 501599, 0x821000 -->
   <event format="evio" count="3" content="bank" data_type="0x10" tag="130" padding="0" num="0" length="501599" ndata="501598">

      <!-- header words: 656, 0x64301 -->
      <bank content="string" data_type="0x3" tag="6" padding="1" num="1" length="656" ndata="1">
      </bank>

      <!-- header words: 500940, 0x60302 -->
      <bank content="string" data_type="0x3" tag="6" padding="0" num="2" length="500940" ndata="1">
      </bank>
   </event>

   <!-- end buffer 3 -->