DABC (Data Acquisition Backbone Core)  2.9.9
CombinerTest.xml
Go to the documentation of this file.
1 <?xml version="1.0"?>
2 <dabc version="2">
3  <Variables>
4  <genhost1 value="lxi060"/>
5  <genhost2 value="lxg0537"/>
6  <genport value="6000"/>
7  <bufsize value="65536"/>
8  </Variables>
9 
10  <Context host="${genhost1}" name="Generator1"/>
11  <Context host="${genhost2}" name="Generator2"/>
12 
13  <Context host="lxg0538" name="Combiner">
14  <Run>
15  <lib value="libDabcMbs.so"/>
16  <logfile value="combiner.log"/>
17  <debuglevel value="1"/>
18  <debugger value="false"/>
19  </Run>
20  <MemoryPool name="Pool">
21  <NumBuffers value="100"/>
22  <BufferSize value="${bufsize}"/>
23  </MemoryPool>
24  <Module name="Combiner" class="mbs::CombinerModule">
25  <NumInputs value="2"/>
26  <NumOutputs value="1"/>
27  <InputPort name="Input0" url="mbs://${genhost1}:${genport}/Transport"/>
28  <InputPort name="Input1" url="mbs://${genhost2}:${genport}/Transport"/>
29  <InputPort name="Input*" queue="5" timeout="5"/>
30  <OutputPort name="Output0" url="mbs://Stream"/>
31  <OutputPort name="Output1" url="lmd:///data.local1/combiner.lmd?maxsize=100"/>
32  <MbsData width="5" prec="2" low="5" up="50" debug="1"/>
33  <MbsEvents width="5" prec="1" low="5" up="50" debug="1"/>
34  </Module>
35  </Context>
36 
37  <!-- this is defaults for all generators -->
38  <Context name="Generator*">
39  <Run>
40  <lib value="libDabcMbs.so"/>
41  <logfile value="${Context}.log"/>
42  <control value="false"/>
43  </Run>
44  <MemoryPool name="Pool">
45  <NumBuffers value="100"/>
46  <BufferSize value="${bufsize}"/>
47  </MemoryPool>
48  <Module name="Generator" class="mbs::TransmitterModule">
49  <InputPort name="Input0" url="lmd://Generator?size=32&numsub=1&procid=${DABCNODEID}ªùC
50  <OutputPort name="Output0" url="mbs://Transport:${genport}" queue="5"/>
51  </Module>
52  </Context>
53 </dabc>