Glasgow RCE Info
Set-up
See here for hardware set-up:
RCESetUp
Running the RCE software
Make sure to have set-up symbolic link to RCE area, i.e.
ln -s /afs/phas.gla.ac.uk/group/atlas/rcepixel01/ibldaq/IBLDAQ-0-0-0 daq
- Navigate to the directory ~/daq/rce
Open C shell
Run set-up script
- $ source scripts/setup_rce-04-00-01.csh
Start servers
- $ ipc_server &
- $ rce_ipc_server &
- $ rce_is_server &
You can check that the servers are running using the command
Load RCE (RCE ip address is 10.129.3.11)
Open GUI
Further info on RCEPixelLab
RCE calibGui
CalibGui is the software used to perform tunes, run scans and test devices.
Before running a scan
Once GUI is open…
- In "Scan" tab
- Set directory to save root files by clicking "Browse" button adjacent to "Data Dir" in "Global Module Configuration area", e.g. /afs/phas.gla.ac.uk/data/atlas/upgrade01/rce-tests/
- Select Scan Type of scan from drop down list in "Scan Config" area
- If required choose a Prim list by "Load Primlist" button in Prim List area
- NB prim lists have priority over any selected scan. Also, prim lists must be cleared before loading a new list or running single scan.
- In "Config Halfstave" tab (4 provided, choose whichever is appropriate)
- Choose a "Frontend: are and set parameters for communication with chip
- Select config file from "Choose Config", and browse to file, e.g. /afs/phas.gla.ac.uk/data/atlas/upgrade01/rce-tests/KateRCE/THRESHOLDX/config
- NB check references to masked directories in config file are to correct place (i.e. current directories)
- for valid config rations the "Valid" check will be ticked
- Set inlink/outlink to valid parameters, and correct RCE (see map ADD LINK LATER)
- make sure the "Included" check is ticked, else the communication will not be attempted
- In "Plots" tab
- The output of them most recent scan is viewable in GUI
- Usual root rules apply, i.e. zoom, right-click, etc.
Running a scan
Basic checks
- Is the chip powered?
- Is the chip biased (do you want it biased?)?
- Is the chip connected?
Select Scan/Primlist
View scan results in the "Plots" tab
Test/Scan Data
- Occupancy plots and histograms can be viewed in the plots tab of the calibGui.
- Data is saved in ~/calibData directory.
- There are root scripts in the ~/root_scripts directory for plotting and analysing analog, digital and threshold scan data.
- To run the analysis ROOT script open file run_analysis.C in an editor (emacs, geany). Change the run number for the Analogue, Digital & Threshold Tests on lines 5 to 7. Open ROOT in the calibData folder and run the run_analysis.C script.
IV Scan
- There is a c++ script for running an IV scan on the pixel detector using a Keithley 2410. The script is located in ~/Projects/IVProgram
- To compile and link the IV scan script do:
- sudo g++ -m32 main.cpp -o iv_scan /usr/local/natinst/ni4882/lib/cib.o -ldl
- To run iv_scan do:
- cd ~/projects/IVProgram
- ./iv_scan
RCE calibGui
FE-I4A Config Files
Background Material
--
AndrewStewart - 2013-07-04