DABC (Data Acquisition Backbone Core)
2.9.9
plugins
hadaq
hades
BnetBuilderHades.xml
Go to the documentation of this file.
1
<?
xml
version
=
"1.0"
?>
2
3
B␇
4
¹õº␃^U
5
¹õº␃^U
6
ª␗[
7
8
ª␗[
9
ª␗[
10
ø2Â ^U
11
ª␗[
12
ø2Â ^U
13
B␇
14
¤?Œ
15
16
ª␗[
17
¤?Œ
18
¤?Œ
19
¤?Œ
20
ª␗[
21
B␇
22
23
ª␗[
24
ª␗[
25
¹õº␃^U
26
¤?Œ
27
ª␗[
28
¤?Œ
29
¹õº␃^U
30
31
ø2Â ^U
32
¤?Œ
33
ø2Â ^U
34
ø2Â ^U
35
¤?Œ
36
ª␗[
37
ª␗[
38
ª␗[
39
¤?Œ
40
Ïcp
41
Ïcp
42
ª␗[
43
þ7␛
44
Ïcp
45
46
Ïcp
47
ª␗[
48
49
¤?Œ
50
ø2Â ^U
51
52
-->
53
54
55
56
<
dabc
version
=
"2"
>
57
58
<
Variables
>
59
<
bnetsenders
value
=
"${BNETSENDERS}"
/>
60
<
bnetreceivers
value
=
"${BNETRECEIVERS}"
/>
61
<
hadaqports
value
=
"${HADAQPORTS}"
/>
62
</
Variables
>
63
64
<
Context
host
=
"${MYHOST}"
name
=
"BNET-EB-${BNEBNUM}"
port
=
"${BNEBPORT}"
>
65
<
Run
>
66
<
lib
value
=
"libDabcMbs.so"
/>
67
<
lib
value
=
"libDabcHadaq.so"
/>
68
<
lib
value
=
"libDabcRfio.so"
/>
69
<
lib
value
=
"libDabcLtsm.so"
/>
70
<
logfile
value
=
"BNETEB_${BNEBNUM}.log"
/>
71
<
loglevel
value
=
"1"
/>
72
<
debuglevel
value
=
"1"
/>
73
<
syslog
value
=
"DAQ"
/>
74
<
sysloglevel
value
=
"0"
/>
75
<
loglimit
value
=
"1000000"
/>
76
<
control
value
=
"true"
/>
77
<!-- <affinity value="-1"/> -->
78
<
threads_layout
value
=
"balanced"
/>
79
<
master
value
=
"${BNETMASTER}:23456"
/>
80
<
publisher
value
=
"true"
/>
81
<
halttime
value
=
"60"
/>
82
<
thrdstoptime
value
=
"20"
/>
83
<!-- <runtime value="50"/> -->
84
</
Run
>
85
86
<!-- If uncommented, all internal manager structures will be published in the web server -->
87
<!-- Publisher name="publ" manager="true"/ -->
88
89
<!-- If uncommented, profiling will be enabled for all threads -->
90
<!-- Thread name="*" publ="true" prof="true"/ -->
91
92
<
Application
ConnTimeout
=
"60"
/>
93
94
<
MemoryPool
name
=
"Pool"
>
95
<
BufferSize
value
=
"2000000"
/>
96
<
NumBuffers
value
=
"5000"
/>
97
</
MemoryPool
>
98
99
<
Device
name
=
"NetDev"
class
=
"dabc::SocketDevice"
/>
100
101
<
Module
name
=
"Combiner"
class
=
"hadaq::CombinerModule"
>
102
103
<
NodeId
value
=
"${BNEBNUM}"
/>
104
<!-- these parameters will force to create inputs/outputs of module -->
105
<
BNETrecv
value
=
"true"
/>
106
<
BNET_NUMRECEIVERS
value
=
"#${bnetreceivers}"
/>
107
<
BNET_NUMSENDERS
value
=
"#${bnetsenders}"
/>
108
<
EB_EVENTS
value
=
"16"
/>
109
110
<
NumInputs
value
=
"#${bnetsenders}"
/>
111
<
NumOutputs
value
=
"${FILEOUTPUTS}"
/>
112
113
<
InputPort
name
=
"Input*"
queue
=
"300"
optional
=
"true"
/>
114
115
<
OutputPort
name
=
"Output0"
url
="
mbs:
//
Stream:810
${
BNEBNUM
}?
iter
=
hadaq_iter
&
subid
=0
x1f
B␇
116
<OutputPort name="
Output1
" url="
hld:
//${
OUTDIR
}/${
PREFIX
}.
hld
?
maxsize
=1000&
ebnumber
=${
BNEBNUM
}&
diskdemon
=${
DAQDISK
}&
slave
" queue="
5000
B␇
117
118
<!-- <OutputPort name="
Output2
" url="
hld:
//${
RFIOPATH
}/${
PREFIX
}.
hld
?
maxsize
=1000&
ebnumber
=${
BNEBNUM
}&
rfio
&
rfioCopyMode
=${
RFIOCOPYMODE
}&
rfioCopyFrac
=${
RFIOCOPYFRAC
}&
rfioMaxFile
=${
RFIOMAXFILE
}&
rfioPathConv
=${
RFIOPATHCONV
}&
rfioLustrePath
=${
RFIOLUSTREPATH
}
" queue="
500
" onerror="
exit
" numreconn="
3
B␇
119
120
<OutputPort name="
Output2
" url="
hld:
//${
LTSMPATH
}/${
PREFIX
}.
hld
?
maxsize
=1000&
ebnumber
=${
BNEBNUM
}&
ltsm
&
ltsmServer
=${
LTSMSERVER
}&
ltsmNode
=${
LTSMNODE
}&
ltsmPass
=${
LTSMPASSWD
}&
ltsmFsname
=${
LTSMFSNAME
}&
ltsmOwner
=
hadesdst
&
ltsmDaysubfolders
=
true
&
slave
" queue="
5000
" onerror="
exit
B␇
121
<ExtraDebug value="
false
B␇
122
123
<ExtraDebug value="
false
B␇
124
125
<DoShmControl value="
false
B␇
126
<RunIdFromEPICS value="
false
B␇
127
<FlushTimeout value="
0.5
B␇
128
129
¤?Œ
130
<!-- <HadesTriggerType value="
true
B␇
131
132
¤?Œ
133
<UseSyncSequenceNumber value="
false
B␇
134
<SyncSubeventId value="
0
x8000
B␇
135
<SyncTriggerMask value="
0
x01
B␇
136
<PrintSync value="
false
B␇
137
<FlushBySync value="
false
B␇
138
ùÄ›
139
<TriggerNumRange value="
0
x1000000
B␇
140
ª␗[
141
<CheckTag value="
false
B␇
142
143
\é-
144
<AccountLostEventDiff value="
true
B␇
145
146
<BuildDropTimeout value="
300.0
B␇
147
148
<Runinfo2ora value="
true
B␇
149
150
<FilePrefix value="
${
PREFIX
}
B␇
151
152
ª␗[
153
<HadaqData width="
4
" prec="
2
" low="
0
" up="
10
" debug="
1
B␇
154
<HadaqEvents width="
5
" prec="
1
" low="
0
" up="
1000
" debug="
1
B␇
155
<HadaqDroppedData width="
5
" prec="
3
" low="
0
" up="
1
" debug="
1
B␇
156
<HadaqLostEvents width="
4
" prec="
2
" low="
0
" up="
100
" debug="
1
B␇
157
158
B␇
159
160
<Connection device="
NetDev
" list="
${
bnetsenders
}
B
161
output="
dabc:
//%
name
%/
FirstLevel
/
Output
${
BNEBID
}
" input="
Combiner
/
Input
%
id
%
B␇
162
163
<!-- <Connection device="
NetDev
" output="
dabc:
//
localhost:12502
/
FirstLevel
/
Output0
" input="
Combiner
/
Input1
" pool="
Pool
B␇
164
165
ø2Â ^U
166
<Module name="
Term
" class="
hadaq::TerminalModule
" period="
0.3
" show="
false
" clear="
false
" fileport="
-1
" servport="
0
" showtrig="
16"/>
167
168
</
Context
>
169
170
</
dabc
>
Generated by
1.9.1