Glasgow RCE Info


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/ daq

  • Navigate to the directory ~/daq/rce
    • $ cd daq/rce
  • Open C shell
    • $ tcsh
  • 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
    • $ rce_ipc_ls
  • Load RCE (RCE ip address is
    • $ rce_load
  • Open GUI
    • $ calibGui
  • 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/
    • 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/
      • 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

Edit | Attach | Watch | Print version | History: r21 < r20 < r19 < r18 < r17 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r21 - 2016-02-18 - KennyWraight
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback