A lightweight C++ based Data Acquisition (DAQ) program for VME crates.
Ensure that ROOT and CMake are installed on your system:
sudo yum install epel-release
sudo yum install cmake root
Run the provided driver installation script:
chmod 755 install_drivers.sh
./install_drivers.sh
Run the DAQ installation script:
chmod 755 install_daq.sh
./install_daq.sh
-
Navigate to the run directory
cd run -
Edit the DAQ configuration: Open
daq.iniand set:- VME bridge address
- TDC addresses
- Number of triggers
-
Enable run mode: ensure the file
runfilecontainsRUN -
Start the DAQ:
../daq/bin/daq daq.ini Nwhere N = run number (increment manually for each new run).
-
Stopping the run:
- Automatic: The run stops when the configured number of triggers is reached.
- Manual: Set the content of
runfiletoSTOP.
-
Output: the data is saved in
output_run_N.root.
sudo yum install epel-release cmake root
chmod 755 install_drivers.sh && ./install_drivers.sh
chmod 755 install_daq.sh && ./install_daq.sh
cd run
# Edit daq.ini as needed
echo RUN > runfile
../daq/bin daq.ini 1