DQCR: DAQ Crate/Card Status


                              Titles:  DQCR
                              =============
 
Contact:  John Roberts / Mark Howe
 
 
Revision History:-
================
 
3.02    N. West         First version. 
                        Remove PC, Add SLOT_OP, GT, CR_ONLINE, CR_HV.


 
Titles Files
------------
 
ccc_info.dat
 
 
Verification
------------
 
 
Description
-----------

Bank Number:  Crate number
 
Contains a 32 bit status of each card in the crate.  This bank together with 
DQCH replaces the CRON/VTHR/VRLY banks.
 
 
Data Words
----------
 
        Fixed length Database Header.  See titles_dbhdr.html

    Data types: B(bit), I, F, D(double), H(hollerith 4 char)

 Word  Type  Mnemonic      Description

              KDQCR_
 
 1..10    I                Header.  Currently unused (all words zero)
    11    I   TABLE        Start of card status table. For card i
                           status stored in word KDQCR_TABLE + i

The structure of the card status word is as follows, unused bits are all 
zero. 
 
 Bit   Mnemonic     Description

       KDQCR_B_

   0   CRATE        Crate present present(0), not present(1)
   1   MB           MB present(0), not present(1) 
                    If the board id cannot be read, assume board not present
   2   PMTIC        PMTIC present(0), not present(1)
                    If the board id cannot be read, assume board not present
   3   DAQ          DAQ readout (eCPU) online(0), offline(1)
   4   DC           Daughter cards all present(0), 4 bit mask of present DC
                    Channel i associated with DC at bit DC + i/8 
                    If the board id cannot be read, assume not present 
   8   SLOT_OP      OR of bits 0-7, 12-15.
                    This is deemed to mean, 'slot operational', as it is
                    an OR of crate, slot, db, etc operational.
   9   GT           GT mask for crate, i.e., is this crate receiving
                    global triggers
  10   CR_ONLINE    Crate on-line (i.e., is being read out by ECPU)
  11   CR_HV        or of bit 0 (SNO crate present) and bits 16-31 (HV bits).
  12   RELAY        HV relays all on(0), 4 bit mask of relays on   
  16   HV           HV for this card. 12 bits (0-4095)

                                  

Go Back to the Snoman Companion Top Page