This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
itk:calibration_with_hsio [2017/02/04 00:18] dfrizzell |
itk:calibration_with_hsio [2017/02/06 20:21] dfrizzell |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Calibration with HSIO ====== | ====== Calibration with HSIO ====== | ||
- | Test | + | 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:// | ||
+ | |||
+ | The bold font indicates action items and regular text gives supplemental information. | ||
+ | ====== 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 | ||
+ | $> | ||
+ | |||
+ | Make sure the steps here https:// | ||
+ | |||
+ | **Next setup the calibration GUI in another terminal WITH superuser privileges: | ||
+ | |||
+ | $>cd ~/daq/rce #move to rce directory | ||
+ | $>source ./ | ||
+ | $> | ||
+ | |||
+ | If any errors occur make sure the steps have been done here: https:// | ||
+ | |||
+ | |||
+ | ===== 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 ~/ | ||
+ | |||
+ | The default configuration file, (94-22-04_25__cern__6999.cfg) is not setup for the chip geometry currently at ANL-ASC (02-06-2016). To fix this open the file and edit the ' | ||
+ | |||
+ | To communicate with the rce you may need to add a line into the /etc/hosts file. Add the line: " | ||
+ | |||
+ | |||
+ | **Once the test run is complete you will be able to go into the ' | ||
+ | |||
+ | If for example, I ran a FDAC_TUNE there would be a folder in the calibData directory ' | ||
+ | |||
+ | It useful to note that the .cfg file isn't actually what gets changed during calibration. It is merely a pointer to a series of .dat files under the fei4bexample directory substructure. | ||
+ | |||
+ | ===== Calibrations Using Primlist ===== | ||
+ | In order to fully calibrate the pixel frontend chips one simply has to run a series of calibration scans each incrementally altering configuration files until the chip becomes optimally tuned as the user desires. The Primlist feature of the calibGUI does this automatically by way of loading in a file with the desired calibration scans and their parameters. | ||
+ | |||
+ | **On the GUI select Save As and select a location for the log file to be saved. I simply make a directory ($>mkdir ~/ | ||
+ | |||
+ | DIGITAL_TEST, | ||
+ | DIGITAL_TEST, | ||
+ | ANALOG_TEST, | ||
+ | GDAC_COARSE_FAST_TUNE, | ||
+ | GDAC_FAST_TUNE, | ||
+ | IF_TUNE, | ||
+ | GDAC_FAST_TUNE, | ||
+ | TDAC_FAST_TUNE, | ||
+ | IF_TUNE, | ||
+ | FDAC_TUNE, | ||
+ | TDAC_FAST_TUNE, | ||
+ | FDAC_TUNE, | ||
+ | THRESHOLD_SCAN, | ||
+ | TOT_TEST, | ||
+ | NOISESCAN, | ||
+ | NOISESCAN, | ||
+ | NOISESCAN, | ||
+ | NOISESCAN, | ||
+ | |||
+ | **On the ' | ||
+ | |||
+ | |||
+ | To run further tests you may simply ' | ||
+ | |||
+ | Sometimes unexpected crashes of the calibserver on the rce can occur. Simply restart this server and try again. | ||
+ | |||
+ | The logic behind the primlist file is fairly obvious and can be manipulated and altered as the user desires different parameters, orderings, or scans. | ||
+ | |||
+ | **It is most instructive to run a diagnostic scan such as the THRESHOLD_SCAN on the default .cfg file, then again on the last .cfg file after the primlist has run. Use root to compare the histograms in the two THRESHOLD_SCANs before and after to ensure everything was executed as expected.** | ||
+ | |||
+ | |||
+ | //Still Under Construction// |