next up previous contents
Next: Data-acquisition Configuration Files Up: ZEUS CALDAQ Transputer System Previous: Calibration Constants   Contents


Hardware Configuration File

The hardware configuration file describes per crate the hardware present (Digital Cards and the components they belong to, SLT-transputers, other hardware) and parameters if applicable.

The hardware configuration file is an ASCII-file and is read via a symbolic link from:

/zeus/transputer/online/vxx.y/bin/host/hwconfig/hwconfig.dat

The actual hwconfig.dat file can be found in directory $\:\tilde{}$calec_rc/defaults/hwconf.



The syntax is as described below:

!             crate.id 1st crate
!             total number of parameters
!             parameters
!             crate.id 2nd crate
!             total number of parameters
!             parameters
!             ...
!
! Each block of parameters:
!             key number of 1st hardware option
!             number of parameters for this option
!             parameters
!             key number of 2nd hardware option
!             number of parameters for this option
!             parameters
!             ...
!
! Key numbers are:
!
! 1 : Digital Card setup
!     format:
!          #words for this option
!          no.of.digital cards
!          component.id component.id ... component.id
!
! 2 : CAL-SLT layer1 there ?
!     format:
!           #words for this option
!           0 ! no
!     OR
!           1 ! yes
!
! 3 : CAL-SLT layer2 there ?
!     format:
!           #words for this option
!           0 ! no
!     OR
!           1 ! yes
!
! 4 : CAMAC readout setup
!     format:
!           #words for this option = number of parameters (0 = not present)
!
! 5 : SRTD-FLT readout setup
!     format:
!           #words for this option = number of parameters (0 = not present)
!           SRTD-FLT initialized by transputer: 0=no, 1=yes
!           SRTD-FLT TriggerCard mask
!           Read out scalers on ENVIRONMENTAL trigger: 0=no, 1=yes

Crate.id is a hexadecimal number (see chapter 'Transputer Identifiers') defined as:

crate.id = #2000 + CAL + (crate-number - 1)

with CAL=#10 (FCAL) or CAL=#20 (BCAL) or CAL=#40 (RCAL).

Component.id is equal to the bit-number of the appropriate component in the bank-bitpattern.



Henk Boterenbrood 2005-01-06