Data acquisition software for SBC.
- Install Miniconda3 or Anaconda3.
- Open the main repository directory in a shell terminal. Run
source ./init.sh
to initialize the environment for run control. The script will do the following things:- Update conda.
- If there is no conda environment called
runcontrol
, then create a new environment usingdependencies/conra_rc.yml
. If it already exists, then update the packages to satisfy the file. - Activate
runcontrol
environment and generate all ui and resources files. - Download
arduino-cli
program, initialize, and download necessary libraries includingincbin
andArduinoJson
.
- Now it's good to go! Start the program by running
python3 rc.py
.
- Program behavior: The states of operation of the run control program, and the bahavior of its submodules.
- Dependencies: A list of all dependencies and some tips on Qt usage.
- Project structure: Folders and files in this repository, and what do they do.
- Data structure: Definition of data files saved by run control and related modules.
- Configuration: Master configuration json file used by run control software. Configuration files are generated from this file for each module.
- Run Data: The run data is saved in the
RunData
tables in the slow control SQL database. There is one line per run. - Event Data: This data is saved in the SBC binary format using SBCBinaryFormat library at the end of each event.