DABC (Data Acquisition Backbone Core)  2.9.9
example.xml
Go to the documentation of this file.
1  5q
2  Example provide several components plus http server -->
3 
4 <?xml version="1.0"?>
5 <dabc version="2">
6  <Context name="Example">
7  <Run>
8  <lib value="libDabcHttp.so"/>
9  <lib value="libDabcMbs.so"/>
10  <lib value="libDabcFesa.so"/>
11  <logfile value="Example.log"/>
12  <loglimit value="1000000"/>
13  <control value="true"/>
14  </Run>
15 
16  <HttpServer name="http">
17  <port value="8090"/>
18  <!--ports value="8091"/-->
19  <!--ssl_certif value="${DABCSYS}/ssl_cert.pem"/-->
20  <!--auth_file value="${DABCSYS}/.htdigest"/-->
21  <!--auth_domain value="dabc@server"/-->
22  </HttpServer>
23 
24  <FastCgiServer name="fastcgi">
25  <port value="9000"/>
26  <debug value="false"/>
27  </FastCgiServer>
28 
29  <Publisher name="publ">
30  <manager value="true"/>
31  <store value="false"/>
32  <storedir value="/data.local1/hstore/"/>
33  <storesel value="FESA/Test"/>
34  <filelimit value="100"/>
35  <timelimit value="600"/>
36  <period value="10"/>
37  </Publisher>
38 
39  <Module name="fesa_monitor" class="fesa::Monitor">
40  <Server value="DummyDevice_DU.linev.asl732"/>
41  <Device value="MyDevice"/>
42  <Cycle value=""/>
43  <Services value="[GetMeasVoltage,GetMeasCurrent,GetMeasWeight]"/>
44  </Module>
45 
46  <Module name="fesa" class="fesa::Player">
47  <publish value="FESA/Test"/>
48  <Synchron value="false"/>
49  <Server value="DummyDevice_DU.linev.asl732"/>
50  <Device value="MyDevice"/>
51  <Cycles value=""/>
52  <Service value="GetMeasVoltage"/>
53  <Field value="measVoltage"/>
54  </Module>
55 
56  <Module name="mbs1" class="mbs::Monitor">
57  <node value="x86l-18"/>
58  <period value="1"/>
59  <history value="100"/>
60  <prompter value=""/>
61  <logger value="false"/>
62  <cmd value="false"/>
63  </Module>
64 
65  <MemoryPool name="Pool">
66  <BufferSize value="65536"/>
67  <NumBuffers value="100"/>
68  </MemoryPool>
69 
70  <Module name="Multi" class="dabc::MultiplexerModule">
71  <publish value="/MBS/Gener"/>
72  <NumInputs value="1"/>
73  <NumOutputs value="1"/>
74  <InputPort name="Input0" url="lmd://Generator?size=32&numsub=2&tmout=100" queue="5" rate="GRateŽ»(
75  <OutputPort name="Output0" url="mbs://Stream:6767" queue="5Ž»(
76  <GRate width="5" prec="3" low="0" up="50" debug="1"/>
77  </Module>
78  </Context>
79 </dabc>