====== DAQ ====== ===== How to run ===== - Connect to the DAQ computer (you must use the LNGS cable network or the [[https://wiki.sites.lngs.infn.it/doku.php?id=vpn:start|LNGS VPN]]:\\ ''ssh my_user_name@172.17.4.212'' - Load the DAQ software:\\ ''$ source /software/LoadGAGG-DAQ.sh'' - Prepare a TOML config file following the examples in the ''/software/config'' folder - Run with:\\ ''$ /software/GAGG-DAQ-build/bin/GAGG-DAQ /software/config/my_config_file.toml'' - To make a loop of subsequent runs, open a ''screen'' session and run something like: ''for( ( i=0;i<1000;i++)); do /software/GAGG-DAQ-build/bin/GAGG-DAQ /software/config-files/Thermal.toml; done'' ===== How to install the CAEN libraries ===== - Create an account on the [[https://www.caen.it/ | CAEN website]] - Download the USB driver for linux for the V3718 bridge and install it as a system-wide installation. Notice: the driver talks to the linux kernel, so **you will probably have to recompile it after an OS update**. - Download and install the CAENVMElib library (in C) - Download and install the V65xxController library - Download and install the GECO2020 software (for now we're using this to control the HV) - Download and install the CAENComm library - Download and install the CAENDigitizer library ===== How to obtain and install the DAQ software ===== - Send your github.com username to Giovanni (create one if you don't), then accept the invitation you will get via email. - Clone the repository in a directory of your choice:\\ ''$ git@github.com:GSSI-BolometerGroup/GAGG-DAQ.git'' - Install the following prerequisites and make sure they're correctly loaded: CAENVME library, CAENComm library, CAENDigitizer library, ROOT. - Create and enter a new folder for building the software:\\ ''$ cd /path_to/\\ $ mkdir GAGG-DAQ-build \\ $ cd GAGG-DAQ-build'' - Compile with cmake:\\ ''$ cmake /path_to/GAGG-DAQ\\ $ make'' - You will find the executable under ''/path_to/GAGG-DAQ-build/bin/GAGG-DAQ'' ===== How to access the VME modules ===== ^ Module ^ Model ^ VME base address ^ Link number ^ Conet node ^ | Bridge | V3718 | 0x32100000 | | HV supply | V6533 | 0x33220000 | | Digitizer | V1725 | 0x32110000 | 0 | 0 |