User Tools

Site Tools


itk:calibration_with_hsio

This is an old revision of the document!


Calibration with HSIO

This will outline the calibration of a FEI4B pixel readout using the HSIO-2 RCE. For setup and installation help see the installation section of:

https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=itk:hsio

Setting up Calibration GUI

To begin calibration disable wifi and enable ethernet connection with the HSIO-2 that is connected to your computer. Inside of a terminal, ssh into the HSIO-2 and setup the calibration server by executing this code:

$>arp -a #reveals IP addresses of devices connected to computer
$>ssh [email protected]._ #Use the IP address for rce0 obtained from arp. Password = root
$>source setup.sh #setup environment inside of HSIO-2
$>calibserver #now the calibration server is running and this terminal will provide diagnostic info

Make sure the steps here https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=itk:installing_local_linux_server_for_rce_communication have been done, running a dhcp server on your computer.

Next setup the calibration GUI in another terminal WITH superuser privileges:

$>cd ~/daq/rce #move to rce directory
$>source ./scripts/setup-gen3.sh #setup environment. ALTERNATIVELY ANL can use source setupGUIandROOT.sh (if exists) to setup setup-gen3 and thisroot.sh
$>calibGUI #start the GUI to interface with the rce

If any errors occur make sure the steps have been done here: https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=itk:installing_pixel_testing_software

Single Scan to Verify Everything is Working (Optional)

On the GUI select Save As and select a location for the log file to be saved. I simply make a directory ($>mkdir ~/daq/rce/Logs) and choose this location. The Config Root Dir should be set and then left alone once everything has been initialized (I set it to /root/pixelrce/rce). The Data Dir should be set to /root/calibData by default which is preferred. Select a Run Number which by default will automatically increment, and set a Scan Type. For this demonstration choose THRESHOLD_SCAN. On the next tab “Config HalfStave A” make sure only as many front end windows as you want are selected as “Valid” and “Included”. For this example there is only one. Select Inlink and Outlink equal to 1 and rce equal to 0 (or whatever configuration is setup in /etc/hosts). Last and most important, select the configuration file by clicking the CHOOSE button. The default file can be found in moduleconfigs/fei4bexample/configs/. Returning to the “Scan” tab you may click Start Run.

The default configuration file is not setup for the chip geometry currently at ANL-ASC (02-06-2016). To fix this open the .cfg file and edit the address parameter from 7 to 8.

To communicate with the rce you may need to add a line into the /etc/hosts file. Add the line: “192.168.3._ rce0” to this file.

Under construction

itk/calibration_with_hsio.1486401212.txt.gz · Last modified: 2017/02/06 17:13 by dfrizzell