Test

From Pcrewiki
Revision as of 14:32, 7 August 2014 by Cpeng (talk | contribs)
Jump to navigationJump to search

test fastbus crates by PPC

ld </site/coda/2.6.2/VXWORKSPPC/bin/fb_diag_cl.o

fb_diag

ld </site/coda/2.6.2/VXWORKSPPC/bin/test_1881.o

test_1881 #slot


August 04, 2014

1st version of readout list from Brad (hsft01.crl) is modified and successfully loaded.

Modules should work in Multi-Block Mode, so there should be more than 2 ADC boards in the crate.

A simple replay code is developed and available at cpeng@ifarm


August 05, 2014

Readout list is thoroughly tested. It can take data from up to 3 1881M ADC boards.

Some limit and problems are:

  1. More than 4 ADC boards would result in an "exception of interrupt" and reboot of the single board computer.
  2. Need to update the crate map in the readout list (how many boards and at which slots they are)

Replay code is refined, it can automatically divide the data for each channel on each ADC board, right now it can only decode for a crate with up to 3 ADC cards.

Run Number: 91

ADC Number: 26, Slot 4. ADC Number: 7, Slot 5. ADC Number: 28, Slot 6.

Run Number: 98

ADC Number: ??, Slot 9. ADC Number: ??, Slot 10. ADC Number: ??, Slot 11.


August 06, 2014

Readout list (pradtest.crl) is upgraded, it solves several problems, including:

  1. Now it supports up to 10 ADC boards for one crate, it is also the limit of our new power supply
  2. Now it scan the whole crate and generate the crate map automatically, so no need to update the crate map in the code

The limit of this readout list is:

  1. It can only be used for ADC 1881M boards, no fastbus TDC is supported (which is not needed in our experiment)
  2. There should be more than 2 ADC boards in the crate to work on the Multi-block Mode

The replay code is upgraded accordingly:

  1. It supports up to 10 ADC boards, 1 tree for each. There are 65 branches (1 for total, 64 for each channel) in each tree
  2. It now reads a configuration file at "./configuration/run_%d.dat" (or "./configuration/default.dat" if there is no such file), the configuration file tells the code how many ADC boards there are and the index number of the ADC boards


August 07, 2014

Test for all boards


Run Number: 106

Slots: 6, 7, 8, 9, 10, 11

ADC Number: 1, 2, 3, 4, 5, 6

All boards passed the test


Run Number: 107

Slots: 6, 7, 8, 9, 10, 11

ADC Number: 7, 8, 9, 10, 11, 12

All boards passed the test

board 8 was marked as "wide pedestal". No difference seen.

board 7: channel 58, no readout.

board 10: channels 16 ~ 31, 48 ~ 63, no readout

board 11: There are uniform background with a width of 80 for each channel

Change slots and check again, run number: 108

Change slots and use the problematic boards only

Slots: 14, 15, 16

ADC Number: 11, 7, 10

Every problem disappears


Run Number: 110

Slots: 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

ADC Number: 13, 14, 15, 16, 17, 18, 19, 20, 22, 23

Number 21 is TDC 1877, will not be used in this experiment

All boards passed the test

Some events are bad on boards at slot 9, 11, 13. The installation is not very tight, it might be the reason.

Re-insert the boards Run Number: 111

Bad events are gone, but the channel 32 on both of board 18 and 20 has no readout. (The same as they are in Run 110)

18 and 20 are left to be tested again in the next run


Run Number: 112

Slots: 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

ADC Number: 18, 20, 24, 25, 26, 27, 28, 29, 30, 31 (additional board, numbered as 31, no mark on the board)

Board 18, channel 32 has no readout, it fails 3 tests (run 110, 111, and 112) in a row.

Board 20, channel 32 has readout now, but all of its channels have a wide spread of pedestal. width is about 20 ~ 25, has a slope at the left.