HOW TO RUN A FINDER TO LINKER To XTRP TEST (xftdaq) =================================================== 1. Bring up the xftdaq GUI under the cdf_xft account. See "How to start XFT diagnostic GUI" for instructions. 2. Go to Finderboard Flashram loading panel. The Finderboard SL13 input chips and the SL24 input chips must have the driver designs loaded. See "How to swap a finderboard" steps 10-15 for instructions on how to do this. 3. Go to NLinkerboard Xtc to Xft to Xtrp panel. Click green Setup XFT system button. This brings up a GUI that allows you to choose which finders are cabled to which linkers and which linkers are cabled to which xtrp boards. As a cursory check, b0xft05 slot 18 should receive data from finders b0xft04 slot 11, b0xft00 slot 4, b0xft04 slot 20, b0xft00 slot 13. 4. The default settings on the XFT config GUI should be correct. Click the checkboxes for the particular linker boards you wish to test or click the yellow TEST button to select/unselect all the checkboxes. Click the large yellow UPDATE button to finalise your choices. This last step is important and a summary of your XFT system will be printed on terminal from which you started xftdaq. Minimise this GUI. 5. The default file stub is 00_patt, which contains a repeating pattern of 4 events of FFFF/0000/5555/AAAA for all the XTC hits. This is useful to find opens/shorts/ problems with new designs and aligning L1 pipelines! Click the serial test checkbox. Click the green run test button. Wait for test to finish. Note any errors in the XFT elog and fix them. 6. Now enter the current testvector file-stub in the field. This will depend on the miss design in the finders (1, 2 or 3 misses allowed out of 12 hits for a valid track segment) and the beamspot offset in the linkers (x mm at xxx degrees). In July 2001, the 2-miss design is loaded in the finders and a 4mm beam offset at 105 degrees is loaded in the linkers, so enter the file stub 0011Off400_2M. If you want to test the linker in a particular crate and slot, here is the current file stub (September 2002) to use for each slot. You can test more than one board at a time, enter the file stub for the first board. The boards need to be consecutive. b0xft01 slot 4 0011Off400_2M b0xft01 slot 6 0111Off400_2M b0xft01 slot 8 0211Off400_2M b0xft01 slot 10 0311Off400_2M b0xft01 slot 12 0411Off400_2M b0xft01 slot 14 0511Off400_2M b0xft01 slot 16 0611Off400_2M b0xft01 slot 18 0711Off400_2M b0xft03 slot 4 1011Off400_2M b0xft03 slot 6 1111Off400_2M b0xft03 slot 8 1211Off400_2M b0xft03 slot 10 1311Off400_2M b0xft03 slot 12 1411Off400_2M b0xft03 slot 14 1511Off400_2M b0xft03 slot 16 1611Off400_2M b0xft03 slot 18 1711Off400_2M b0xft05 slot 4 2011Off400_2M b0xft05 slot 6 2111Off400_2M b0xft05 slot 8 2211Off400_2M b0xft05 slot 10 2311Off400_2M b0xft05 slot 12 2411Off400_2M b0xft05 slot 14 2511Off400_2M b0xft05 slot 16 2611Off400_2M b0xft05 slot 18 2711Off400_2M 7. Make sure the serial test checkbox is NOT selected. Make sure the L2 Check all events checkbox is selected. Click the green run test button. You can stop the test by clicking this button again. The lower half of this GUI panel contains fields to display an error summary. A log file (XXXResults* in the ~/xft directory) contains the individual error messages. You can switch on debugging printout with the various checkboxes and change the maximum number of error/debug messages that will be printed out also. 8. You can include XTRP by clicking on the Include XTRP checkbox, then the green run test button. You must have the XTRP crate booked (make sure no-one else is using it) and in your system.cfg file.