Skip to content
Gordon Crone edited this page Sep 20, 2023 · 1 revision

Working with the Readout DAL

First prepare a work area based on fddaq-v4.1.1 and checkout this package and the gcrone/noreadout branch of DUNE-DAQ/coredal.

> . /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
> setup_dbt latest
> dbt-create -c fddaq-v4.1.1 fddaq-v4.1.1
> cd fddaq-v4.1.1/sourcecode/
> git clone git@github.com:gcrone/readoutdal.git
> git clone -b gcrone/noreadout git@github.com:DUNE-DAQ/coredal.git
> cd ..
> . env.sh 
...

You should now be able to build the dal libraries with the usual dbt-build command.

Editing the readout schema

You can now edit the schema files with your favourite text editor. To use the Qt based schemaeditor you should use spack to load the dbe package.

> spack load dbe

And edit the schema with

> schemaeditor -f sourcecode/readoutdal/schema/readoutdal/readout.schema.xml
  • To edit a class double click on the class name to bring up a dialogue box.
  • To add a new class right click in the 'Class Name' or 'Schema View' panels.
  • To view a class in a 'Schema View' panel simply drag the class name from the list and drop it in the 'Schema View' panel

Clone this wiki locally