NEW ‐ MicroMegas DAQ instructions - PADME-Experiment/padme-fw GitHub Wiki

DAQ MM

Computer: daq@l0padme2
Password: ask Emanuele Leonardi

Directory: /home/daq/MMdaq/acquisition


What’s in the directory

  • SRSDCS.v1.5.4 to configure SRS
  • mmdaq3 contains the server (MMDAQServer_708) and the browser (MMDAQBrowser_726) to run the DAQ
  • raw contains data raw files

STEP 1: Configure the SRS (Optional)

NB: this step is needed only if you restart the SRS.

  • Make sure the trigger is OFF before configuring SRS
  • If you need to re-start the SRS look at the section “Controller Remoto SRS”

To configure SRS:

  • Run: ./SRS
  • Address: 10.0.3.2
  • Enable expert mode + write the address
  • Click on Connect
  • Click on Load:
    /home/daq/MMdaq/acquisition/mmdaq3/MMDAQServer_708/mmdaq3-server/config_2FEC_PADME_BTF/sdc_FEC_15_16APV_TRGVeto_675.txt
  • Click on Download to HW
  • Check for errors: every odd column should only contain zeroes
  • Finished → OK
  • Click on Acquisition ON
  • Click on Trigger EXTERNAL
  • Click on Disconnect
  • Repeat for the other FEC with IP 10.0.4.2 NB after the first FEC configuration, all the lights will remain green and on
  • Leave this open in this panel of the terminal

STEP 2: Run DAQ

SERVER: open a new panel in the terminal

  • Directory: /home/daq/MMdaq/acquisition/mmdaq3/MMDAQServer_708/mmdaq3-server

  • Run: ./mmdaq3-server
    NB: when the server starts there is an error message in red:

    ERROR: BAD CONFIG CDaqServerConfig::read_config_file() '': <unspecified file>: cannot open file

    don't worry about that, it's normal, you can check that all is working right if you see as last message: MSG: CDaqServer running...

  • Then you can open the browser.

BROWSER: Open a new panel in the terminal

  • Directory: /home/daq/MMdaq/acquisition/mmdaq3/MMDAQBrowser_726
  • Run: ./browser --online &

Pedestal Run:

#only do pedestals when you turn on the HV of the chamber, with beam off!

  • Click on Pedestals

  • Check Write File

  • Click on Daq Config File

  • Navigate into:
    /home/daq/MMdaq/acquisition/mmdaq3/MMDAQServer_708/mmdaq3-server/config_2FEC_PADME_BTF/

  • Select: Daq_config.xml

  • Click on Open

  • Wait until the bar become green

  • Check zero suppression factor: should be 1 for pedestal

  • Click on Start (if all is went at the best the button should be turn green)

  • Go to the server terminal and check that after the ======== STARTING PEDESTALS RUN ======== it waits the trigger showing - 0, 0 or \ 0, 0 or / 0, 0 (with the slash moving)

    NB: during the configuration for the starting of the run there should pop out some warnings (in orange), don't worry about that

  • Turn the trigger on

  • Once the run is started, click on “TestBeam_setup_down” and then on Readout to check that the RawUdp frames are fine for all the APVs (shold be all moving and look like the same).

  • Go to the server terminal and check that there are no error messages that appear during the run

To stop the run:

  • Click on Stop
  • Click on Kill Server
  • Close the browser

Physics Run

  • Click on Physics

  • Check Write File

  • Click on Daq Config File

  • Navigate into:
    /home/daq/MMdaq/acquisition/mmdaq3/MMDAQServer_708/mmdaq3-server/config_2FEC_PADME_BTF/

  • Select: DAQ_config.xml

  • Click on Open

  • Wait until the bar becomes green

  • Click on Pedestal File (below the Daq Config File button)

  • Navigate into: /home/daq/MMdaq/acquisition/raw/pedestals

  • Select the file that corresponds to the Pedestal run (if you didn't do a new pedestal run, check on elog to see what pedestal run was used previously)

  • Wait until the bar becomes green

  • Set the Zero Suppression Factor to 0.5 and press Enter once the value is set to send the command NB: you can check if the command is been taken if in the browser terminal there's a line saying: CDaqClientIpc::send_commands() --> sent:'zsapv=0.5'

  • Click on Start (if all is went at the best the button should be turn green)

  • Go to the server terminal and check that after the ======== STARTING PHYSICS RUN ======== it waits the trigger from PADME showing - 0, 0 or \ 0, 0 or / 0, 0 (with the slash moving)

    NB: during the configuration for the starting of the run there should pop out some warnings (in orange), don't worry about that

  • Once the run is started, and the trigger is going, click on “TestBeam_setup_down” and then on Readout/Event1D to check that there is something in all the plots

  • Go to the server terminal and check that there are no error messages that appear during the run

To stop the run:

  • Click on Stop
  • Click on Kill Server
  • Close the browser

Author: Chiara Arcangeletti, William Natale - for any question contact them at [email protected] - [email protected]