This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
phase1:phase1:bpixeltools [2015/02/19 12:17] – [Analog FED] leac | phase1:phase1:bpixeltools [2015/03/27 17:20] – ngadiuba | ||
---|---|---|---|
Line 13: | Line 13: | ||
help // to get a list of options when using the command line interface | help // to get a list of options when using the command line interface | ||
+ | Main general commands: | ||
+ | |||
+ | * **scanringedevice** : scan all the connected electronic devices and addresses (ccu, dohs, pohs, ... ) | ||
+ | * **scanpixeldevice** : summary of the connected and missing devices (no addresses list) | ||
+ | |||
+ | To check pohN response (N = 1, | ||
+ | |||
+ | * first set the ccu to which the poh if interest is connected doing for example : **ccu 0x7e** | ||
+ | * set the channel of the poh of interest (0x13 for L34 and 0x11 for L12) doing for example: **channel 0x11** | ||
+ | * **pohN read** : read the values of the 4 channels bias and gain (b0, b1, b2, b3, g0, g1, g2, g3) | ||
+ | * to set the bias or the gain do for example: **pohN set b0 30** | ||
+ | * to set all the values at the same time do for example: **pohN set all 3 3 3 3 0 0 0 0** | ||
+ | |||
+ | To test i2c speed: | ||
+ | |||
+ | * first set the ccu: **ccu 0x7b** | ||
+ | * set the channel (0x13 for L34 and 0x11 for L12): **channel 0x13** | ||
+ | * set the i2c speed: **i2cspeed 1000** | ||
+ | * NB: the programmable i2c speeds are 100, | ||
+ | |||
+ | ====Test Programs==== | ||
+ | |||
Run the test program (from a different terminal): | Run the test program (from a different terminal): | ||
cd TriDAS/ | cd TriDAS/ | ||
Line 18: | Line 40: | ||
cd test | cd test | ||
| | ||
+ | |||
+ | Run the test program for POH bias scan at a specific gain | ||
+ | |||
+ | * open a terminal and run the ccu program | ||
+ | * open a second terminal and run the fed program | ||
+ | * open a third terminal for the test program: | ||
+ | |||
+ | cd TriDAS/ | ||
+ | | ||
+ | cd test | ||
+ | | ||
+ | |||
+ | * the results are stored in the testdata folder (create one if it does not exist) | ||
+ | |||
+ | Additional macro to plot the poh bias scan results in the folder " | ||
+ | |||
+ | * be sure the input files are called " | ||
+ | * if you want to compare the bias/ | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | * if you want to compare the bias/ | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
====Analog FED==== | ====Analog FED==== | ||
Line 26: | Line 76: | ||
Check that addresses are set correctly in fed/ | Check that addresses are set correctly in fed/ | ||
+ | |||
+ | ====pxFEC==== | ||
+ | Start the server: | ||
+ | cd TriDAS/ | ||
+ | | ||
+ | |