Skip to content

Commit 5074674

Browse files
authored
[QC-451] Update doc about the readout-qc config (#547)
* Fix test ccdb extra * [QC-451] Update doc about the readout-qc config * Update readout.json * Update readout.json * Update CcdbDatabase.cxx * Update readout.json * Update testCcdbDatabaseExtra.cxx * Update testCcdbDatabaseExtra.cxx
1 parent 680a8d8 commit 5074674

3 files changed

Lines changed: 31 additions & 12 deletions

File tree

doc/Advanced.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,16 @@ the Data Sampling and the Data Inspector.
351351
352352
First make sure that the Data Sampling is enabled in the readout :
353353
```
354-
[consumer-data-sampling]
355-
consumerType=DataSampling
354+
[consumer-fmq-qc]
355+
consumerType=FairMQChannel
356+
enableRawFormat=1
357+
fmq-name=readout-qc
358+
fmq-address=ipc:///tmp/readout-pipe-1
359+
fmq-type=pub
360+
fmq-transport=zeromq
361+
unmanagedMemorySize=2G
362+
memoryPoolNumberOfPages=500
363+
memoryPoolPageSize=1M
356364
enabled=1
357365
```
358366

doc/ModulesDevelopment.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,16 @@ In the final system, the qc gets real data from the DPL devices or the readout p
350350

351351
When connecting the QC directly to the readout using the `o2-qc-run-readout` proxy, remember to add this consumer to the config file of the readout and to enable it:
352352
```json
353-
[consumer-data-sampling]
354-
consumerType=DataSampling
353+
[consumer-fmq-qc]
354+
consumerType=FairMQChannel
355+
enableRawFormat=1
356+
fmq-name=readout-qc
357+
fmq-address=ipc:///tmp/readout-pipe-1
358+
fmq-type=pub
359+
fmq-transport=zeromq
360+
unmanagedMemorySize=2G
361+
memoryPoolNumberOfPages=500
362+
memoryPoolPageSize=1M
355363
enabled=1
356364
```
357365

doc/QuickStart.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,17 @@ The first thing is to load the environment for the readout in a new terminal: `a
132132
Then enable the data sampling channel in readout by opening the readout config file located at `$READOUT_ROOT/etc/readout-qc.cfg` and make sure that the following properties are correct:
133133

134134
```
135-
# First make sure we never exit
136-
[readout]
137-
(...)
138-
exitTimeout=-1
139-
(...)
140-
# And enable the data sampling
141-
[consumer-data-sampling]
142-
consumerType=DataSampling
135+
# Enable the data sampling
136+
[consumer-fmq-qc]
137+
consumerType=FairMQChannel
138+
enableRawFormat=1
139+
fmq-name=readout-qc
140+
fmq-address=ipc:///tmp/readout-pipe-1
141+
fmq-type=pub
142+
fmq-transport=zeromq
143+
unmanagedMemorySize=2G
144+
memoryPoolNumberOfPages=500
145+
memoryPoolPageSize=1M
143146
enabled=1
144147
(...)
145148
```

0 commit comments

Comments
 (0)