Field DAQ 101 » History » Version 4

« Previous - Version 4/8 (diff) - Next » - Current version
Simon Corrodi, 10/22/2020 10:23 PM

Field DAQ 101

This document is intended to provide a rough overview of the software components used in the fiel daq and where to find the corresponding code.


In general, all frontends (fe1, fe2, fe3) and the backend have the daq code in: ~/Gm2FieldOnline/gm2fielddaq. This is the part we mainly modify. This builds on top of midas which we have in@ ~/Packages/gm2midas@. Once that's installed and the environment is set up right (through .bashrc calling .midasrc) we hopefully never need to touch that.


The frontend code is in ~Gm2FieldOnline/gm2fielddaq/frontends. They all use the libraries in ~Gm2FieldOnline/gm2fielddaq/hardware-interfaces which only needs to be rebuilt (and INSTALLED) if we make hardware changes what's much less common. The frontends are built inside the corresponding folder. No install is required.

Special case: Fixed-Probes

The fixed probes are kind of special because they need essentially the offline code including the gm2fieldsignal-library for the online freq extraction that is then used in the feedback. This code is in Gm2FieldOnline/srcs/....

Custom Midas Parts

Our "midas-server" runs on g2field-be. The custom code is located in Gm2FieldOnline/gm2fielddaq/online/custom and the scripts used to start, kill, restart parts including frontends and dqm are in Gm2FieldOnline/gm2fielddaq/online/bin.


The art jobs of the dqm run on g2field-be. The working directory for that is Gm2FieldOnline/DQMWorkplace. The used art modules are in Gm2FieldOnline/srcs/gm2field/dqm while the nodes servers for displaying the dqm are in Gm2FieldOnline/srcs/gm2dqm/node. The nodes can run either on g2field-be or g2field-server-2.