DABC (Data Acquisition Backbone Core)  2.9.9
monitor.xml
Go to the documentation of this file.
1 <?xml version="1.0"?>
2 
3 3>î
4 6¢Ä^U
5 {¢Ä^U
6 -->
7 
8 <dabc version="2">
9  <Context host="localhost" name="EventBuilder">
10  <Run>
11  <lib value="libDabcMbs.so"/>
12  <lib value="libDabcHadaq.so"/>
13  <logfile value="monitor.log"/>
14  <loglevel value="-1"/>
15  <loglimit value="1000"/>
16  <threads_layout value="balanced"/>
17  </Run>
18 
19  <MemoryPool name="Pool">
20  <BufferSize value="200000"/>
21  <NumBuffers value="100"/>
22  </MemoryPool>
23 
24  <Module name="Monitor1" class="hadaq::MonitorModule">
25  <!-- these parameters will force to create inputs/outputs of module -->
26  <NumOutputs value="1"/>
27 
28  <!-- Trigger type for generated event -->
29  <TriggerType value="0xC"/>
30 
31  <!-- Subevent id -->
32  <SubevId value="0x1001"/>
33 
34  <!-- This is optional list of first addr arguments, if specified will be placed used as first argument if ShellCmd -->
35  <Addrs0 value="[0x6000,0x6000,0x6100,0x6100]"/>
36 
37  <!-- This is list of addresses readed be module -->
38  <Addrs value="[0x100,0x200,0x300,0x400]"/>
39 
40  <!-- trbcmd with two arguments, requires Addrs0 to be specified. -->
41  <ShellCmd value="trbcmd r 0x%x 0x%x"/>
42 
43  <Period value="1."/>
44  </Module>
45 
46  <Module name="Monitor2" class="hadaq::MonitorModule">
47  <!-- these parameters will force to create inputs/outputs of module -->
48  <NumOutputs value="1"/>
49 
50  <!-- Trigger type for generated event -->
51  <TriggerType value="0xC"/>
52 
53  <!-- Subevent id -->
54  <SubevId value="0x1002"/>
55 
56  <!-- This is list of addresses readed be module -->
57  <Addrs value="[0x500,0x600,0x700,0x800]"/>
58 
59  <!-- trbcmd with single argument -->
60  <ShellCmd value="trbcmd r 0x0800 0x%x"/>
61 
62  <Period value="0.7"/>
63  </Module>
64 
65  <Module name="Multi" class="dabc::MultiplexerModule">
66  <NumInputs value="2"/>
67  <NumOutputs value="1"/>
68  <InputPort name="Input0" url="Monitor1/Output0"/>
69  <InputPort name="Input1" url="Monitor2/Output0"/>
70 
71  <!-- this is stream server for online monitoring, normally always on -->
72  <OutputPort name="Output0" url="mbs://Stream:6002?iter=hadaq_iter&subid=0x1f3>î^U
73 
74 IÜÃ
75  <OutputPort name="Output1" url="hld://dabc.hld?maxsize=2000"/>
76 
77  </Module>
78 
79  </Context>
80 
81 </dabc>