Titles: CRON ============= NB The CRON/VRLY/VTHR banks are now obsolete. They have been replaced by the DQCH/DQCR banks Contact: Mark Howe (University of Washington) Revision History:- ================ 3.01 D. Wark First version. 3.02 M. Howe Complete redesign to bring into line with DAQ. Titles Files ------------ ccc_info.dat Verification ------------ Description ----------- Contains status of each crate (on/off-line), each card (on/off-line) and each channel (en/dis-abled) IMPORTANT: In all the tables below, the ordering is Crate/Card/Channel NOT Card/Crate/Channel so as to avoid wasting space. Data Words ---------- Fixed length Database Header. See titles_dbhdr.html Data types: B(bit), I, F, D(double), H(hollerith 4 char) KCRON_ 1 I ENABLED =0 if bank to be ignored (=1 for DAQ data) 2 I NUM_CRATE Number of crates (=19 for DAQ data)) 3 I CRATE_TBL Start of crate table (=21 for DAQ data) 4 I CARD_TBL Start of card table (=40 for DAQ data) 5 I CHAN_TBL Start of channel table (=344 for DAQ data) 6..20 I Spare words Next comes a crate table with 1 word for each of NUM_CRATE crates CRATE_TBL +i_crate I = 0 off-line, =1 on-line for i_crate (=0..18 for DAQ) Next comes a card table with 1 word for each of NUM_CRATE*16 channels Define logical crate card (lcc) = 16*i_crate + i_card CARD_TBL + lcc I = 0 off-line, =1 on-line for lcc Next come a channel table with 1 word for each of NUM_CRATE*16 cards CHAN_TBL + lcc I Bit mask for card lcc:- Bit i_chan set if i_chan channel is enabled