Tilecal Electronics IFAE Site

Maintained by Georges Blanchot - Last updated: Monday, March 19, 2007


ADC INTEGRATOR CARD

Testbeam Software Tools


The software contained in this page is tuned to be used with the beam crate RIO2 processor, together with a Readout Buffer and a TTCvi card. All the programs published here were validated on rd13fe45 and should be used as reference for testbeam users.

The above programs require the adclist.txt configuration file that contains the list of ADC serial numbers associated to a given base address.

          To compile the above programs, link all libraries together:

                cc mycode.c adclib03.c rblib03.c lib3in103.c ttcvi.c -o mycode

            or  call the link script from the target folder:    ./lnk mycode

If the find3in103 or ped03 programs fail to find the right number of 3in1 cards, the user should check that the TTCvi card isn't sending periodic commands to the drawer (e.g. just after a CIS run). The above programs do reset the TTCvi card at startup, however conflicts still can appear if both systems are run at the same time.

The rbqc03 program requires two ports to be bridged with a standard canbus cable. The program tests the functionality of the readout buffer by sending period messages from one port to the other.

The adcqc03 program requires a canbus connection to a canbus branch and a valid configuration file. It test the functionnality of all ADC cards connected to the CANbus branch.

The ped03 program requires the adcqc03 test to complete succesfully. It can then be used to look for light leaks before running the cesium source scan.