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!
- Make sure
pcepisdaq4
is running. - On
pcepisdaq4
su
(code is located on board in DAQ room)service iptables stop
service nfs start
- Turn the crate on. If already on power off and then on.
- Go to pcepisdaq6 as user is561
- In a single terminal complete. (see “How do I??”)
- Initialize the VULOM
- Setting the trigger
- Viewing the scalers
- In a new terminal complete
- Starting DaqC
- Switch desktop (ctrl+alt+→)
- Start GO4 (described below)
- 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
cd ~/DAQC
python rest.py
- Open http://localhost:8080
Starting go4
On pcepisdaq6 as is561
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