IS561/DAQ manual

This is the IS561 DaqC daq manual. If you cannot get this to work use the old DAQ manual.

We start with on how to start the DAQ from scratch assuming there have been a power cut.

How do I start a file?

On pcepisdaq6 find the DAQController window in the browser. If not open http://localhost:8080.

Once have it open fill out the run information (right side) and click Start.

Starting from scratch

Only do this if things are NOT running. Normally, the DAQ always runs!

  1. Make sure pcepisdaq4 is running.
  2. On pcepisdaq4
    1. su (code is located on board in DAQ room)
    2. service iptables stop
    3. service nfs start
  3. Turn the crate on. If already on power off and then on.
  4. Go to pcepisdaq6 as user is561
  5. In a single terminal complete. (see “How do I??”)
    1. Initialize the VULOM
    2. Setting the trigger
    3. Viewing the scalers
  6. In a new terminal complete
    1. Starting DaqC
  7. Switch desktop (ctrl+alt+→)
  8. Start GO4 (described below)
  9. You are now ready to take data. See above

Now the DAQ is running.

How do I??

Below you find the description of how you perform various tasks.

Starting DAQC

On pcepisdaq6 as is561

  1. cd ~/DAQC
  2. python rest.py
  3. Open http://localhost:8080

Starting go4

On pcepisdaq6 as is561

  1. go4_connect

Turn the VME crate on

  • Locate the little red switch on the front of the VME crate and flip it upwards. This should turn on the crate. (If the display on the crate shows error messages, flip the red switch again.)

Initialize the VULOM

  • Ssh to the RIO
    ssh caisol7
  • Go to the DAQ directory
    cd daq/f_user
  • Flash the RIO
    ./flash_vulom
  • If everything went correct you should see
    Successly flashed prog 2
    If you do not see this then something is really wrong. Find an expert.

Setting the trigger

This should not be done while taking data to disk!

The trigger is performed by the VULOM using the trloii firmware.
For a short introduction look here. Details about syntax and capabilities can be found here.

  • Ssh to the RIO
    ssh caisol7
  • Go to the DAQ directory
    cd daq/f_user
  • If you need to change the trigger settings then open
    emacs RIO_trigger.trlo
  • Apply the settings ./rewire.sh

Changing the trigger

This should not be done while taking data to disk!

The trigger is controlled digitally and the configuration is stored on caisol7.

  • Ssh to the RIO
    ssh caisol7
  • Go to the DAQ directory
    cd daq/f_user
  • Open the trigger file
    emacs RIO_trigger.trlo

The relevant lines are 41-43. They should look similar to this:

// Here you enable the triggers you want active with a , between each. Please use the alias' above   
  tpat_enable = T_S3_OR, T_DSSD1, T_DSSD2, T_DSSD3, T_DSSD4, T_DSSD5, T_BB7_OR;
  //tpat_enable = T_PADS;                                                       
  tpat_enable += T_NEUTRON;

The global trigger is an OR between all enabled subtriggers.

Viewing the VULOM scaler

  • Ssh to the RIO
    ssh caisol7
  • show-scalers

Starting DAQC