Skip to content

Commit 0761cc2

Browse files
committed
update readme, start readout_parser docs (no content yet)
1 parent 31f9169 commit 0761cc2

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ to build high-performance MVLC based DAQ readout systems are provided:
1010
* Configuration holding the setup and readout information for a single VME
1111
crate containing multiple VME modules.
1212

13+
JSON and YAML formats are currently implemented.
14+
1315
* Multithreaded readout worker and listfile writer using fast data compression
1416
(LZ4 or ZIP deflate).
1517

@@ -30,17 +32,18 @@ software.
3032

3133
* [MVLC command format](doc/command_format.md)
3234
* [MVLC data format](doc/data_format.md)
35+
* [The readout_parser module](doc/readout_parser.md)
3336
* [mvme manual](https://mesytec.com/downloads/mvme/mvme.pdf)
3437

35-
The mvme manual contains a section about the MVLC Trigger/IO system. mvme VME
36-
script supports all implemented MVLC commands.
38+
The mvme manual contains a section about the MVLC Trigger/IO system. mvme *VME
39+
scripts* supports all implemented MVLC commands.
3740

3841
## Building
3942

4043
```sh
4144
apt-get update && apt-get install -y --no-install-recommends \
42-
ca-certificates build-essential git cmake ninja-build zlib1g-dev \
43-
libzmq3-dev cppzmq-dev
45+
ca-certificates build-essential git cmake ninja-build zlib1g-dev \
46+
libzmq3-dev
4447

4548
mkdir build && cd build
4649
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=~/local/mesytec-mvlc .. \
@@ -50,6 +53,8 @@ ctest .
5053

5154
Dockerfiles can be found [here](tools/dockerfiles).
5255

56+
Pass `-DMVLC_BUILD_DEV_TOOLS=ON -DMVLC_BUILD_TOOLS=ON` to cmake to build additional tools.
57+
5358
## Tools
5459

5560
* `mvlc-cli`: command line interface to the MVLC. Useful subcommands:
@@ -65,8 +70,6 @@ Dockerfiles can be found [here](tools/dockerfiles).
6570
files exported from mvme. Writes readout data to listfile and/or dumps it to
6671
console.
6772

68-
Pass `-DMVLC_BUILD_DEV_TOOLS=ON -DMVLC_BUILD_TOOLS=ON` to cmake to build additional tools.
69-
7073
* `mvlc-listfile-info <zipfile>`: Processes the input listfile, showing
7174
information about the contained configuration and decoded readout/system
7275
events. Quick as it does not process the actual readout data.

doc/readout_parser.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# MVLC readout_parser module
2+
3+
## Problem
4+
5+
Parse an incoming - possibly lossful - stream of buffers containing MVLC readout
6+
data into a stream of events containing module readout data.
7+
8+
```
9+
input data: USB data stream or ETH packet stream
10+
11+
+-----------------+ +-----------------+
12+
+--------+ | output event N | | output event N+1|
13+
| 0xF3.. | +-----------------+ +-----------------+
14+
| ...... | | module0 | | module0 |
15+
| 0xF5.. | -> | payload | | payload | ...
16+
| ...... | +-----------------+ +-----------------+
17+
| ...... | | module1 | | module1 |
18+
.......... | payload | | payload |
19+
+--------+ +-----------------+ +-----------------+
20+
```

0 commit comments

Comments
 (0)