Skip to content

SBC-Collaboration/SBC-RunControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SBC-RunControl

Data acquisition software for SBC.

Installing Dependencies

  1. Install Miniconda3 or Anaconda3.
  2. 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 using dependencies/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 including incbin and ArduinoJson.
  3. Now it's good to go! Start the program by running python3 rc.py.

Documentations

  • 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.

About

Data acquisition software for SBC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published