Setting up DAQ PC

This page describes the general setup need for the DAQ PC

Software installation

You will need the following software installed

  • root, either install it manually or with the corresponding package manager of your distribution if available. Keep in mind you might need the developer packages too.

  • vivado: fpga programming software link

  • python3

  • H2GConfig: Python based standalone hgcroc configuration software courtesy of Shihai Jia

    • 1G Software link

    • 10G Software link check out branch 10GNorbertdevel

  • H2GCalib_3b: Python based standalone hgcroc calibration software courtesy of Shihai Jia l

    • 1G Software link

    • Old 1G Software adapted to 10G link checkout branch 10GNorbertdevel

    • New 10G Software link

  • H2GDAQ: Python based standalone DAQ software courtesy of Shihai Jia

    • 1G Software link check out branch dev-012

    • 10G Software link check out branch main

  • h2g_online_monitoring: C++ based online monitoring software (which can be automatically started from H2GDAQ) courtesy of Tristan Protzman link

  • h2g_decode: C++ based data stream decoder courtesy of Tristan Protzman link

  • h2g_validator: Python based data integrity validation programm courtesy of Oskar Hartbrich link

Keep in mind some of these packages might need further dependencies and or compilation. Have a look at their respective installation instructions or README's.

Setup network

The firmware of the KCU and thus HGCROC boards by default expects to be situated in the subnet 10.1.2.XXX, see below how to setup the corresponding subnet on the enp1s0f0 as an example.

For the CERN 2025 PS TB please set up the network as follows should we need a restart of the DAQ computer. Two blue (CAT7 ethernet) cables should be connected to the 2 KCUs and the two port 10GB ethernet card in the DAQ computer.

Moreover it is necessary to at least make the following temporary network changes to your linux system.

They can also be made permanent by editing /etc/sysctl.conf and adding the following lines:

Then run the following command to apply the changes:

Setup python environment

Often the latest linux distributions don't allow the system wide installation of different python versions or modules in order not to break any of the system installations. Hence a temporary python environment needs to be created, which can be pulled up with the necessary packages installed.

Last updated