Skip to content

DAQ Wiki

Li Jiaoyang edited this page Feb 12, 2026 · 6 revisions

Information about how to access DAQ servers can be found in ArCS Online Computing

DAQ Documentations from LArIAT

Some good presentations on the DAQ and rack layout:

The documentation on the LArIAT DAQ is on the LArIAT Wiki.

Notes on recent (November-December 2025) DAQ tests are here: LArIAT DAQ Notes.

DAQ Test

Current Status: As of 2026/02/10, ArCS is doing the DAQ test:

  • Software: SPACK with AL9 machine.
  • Hardware: server + A3818 card + transceiver + VME Crate + CAEN V1740 board.
  • We will explore the usage of ArtDAQDriver by: artdaqDriver -c srcs/artdaq-demo/tools/fcl/driver_test1.fcl

ArtDAQ setup with SPACK

Link:

Procedure:

  • Currently, the DAQ environment is set up in /data/artdaq-demo-spack. Please do not touch this area if you try to follow the instructions.

  • To set up the initial DAQ environment with SPACK: one should run the setup script which should call quick-spack-start_v0.28.sh. The most relevant lines for the setup script should be these lines.

  • Once the initial env is setup, The build is in its last stages. If one wants, one should be able to remove the artdaq packages and add artdaq-caen by:

cd /data/artdaq-demo-spack
source setupARTDAQDEMO
cd srcs
git clone https://github.com/art-daq/artdaq-caen.git # Read-only, but you don't have to have a public key setup
rm -rf artdaq artdaq-core artdaq-demo artdaq-core-demo artdaq-database artdaq-mfextensions artdaq-utilities artdaq-daqinterface artdaq-epics-plugin trace
cd ..
spack env deactivate
spack mpd list # list the projects
spack mpd select <artdaq-develop> # confirm if artdaq-develop is the one you want to use. 
spack mpd refresh --force # It should ask about installing caen libraries
# Wait a while for build to complete...
spack env activate artdaq-develop
which artdaqDriver # Should now be coming from a Spack install directory
  • Whenever you modify any code in the srcs folder, you only need to do spack mpd refresh --force or space mod build, both command are similar to UPS, which only build new additions.

CAEN Library Installation on a New Server.

Note: This is still on-going test, which means not determined yet. Please do not exercise on these instructions now.

From Giulia, the software layer of CAEN libraries:

image

Libraries needed to be installed in the server before communicating with the CAEN V1740 board. All libraries are installed by: download package from CAEN website, scp to the server, and install as instructed in the website.

All CAEN libraries are installed in arcs-daq01.fnal.gov and everything is in /home/nfs/arcs/srcs. arcs-daq02.fnal.gov will install CAEN libraries later, but not now since we might want to do SL7 to AL9 migration.

Moreover, To check if CAEN library is implemented:

  • ldconfig -p | grep CAEN

Clone this wiki locally