next up previous contents
Next: Daisy-chain of multiplexers Up: In-depth description Previous: A safety feature of

Usage of LIMITS table by command CHKLOC

The table LIMITS is also used (in a different context) by the command CHKLOC (=CHecK LOCations) which performs a consistency check of the database. It is invoked with a module identifier as parameter, and it checks two things (cf. the 'help'-info for the command in section 2):

  1. The table ELECLOC is searched for a second module which is assigned the same crate and slot number, and an error message is printed if such a module is found.
  2. From the attribute MOD_TYPE, the attribute for the ID of the module in other tables is obtained, and all tables with that attribute are searched for the signals connected to the module. The CHKLOC-command then checks that the addresses of the module are not assigned twice, and that there are not more entries in the tables than the specified module has channels.
For item 2, the table LIMITS contains the maximum address of the module types in your database. (Note that the number of channels is one more than the maximum address since addresses are assumed to start from zero.) For the GSI constant fractions and the LeCroy fastbus modules 1872/1875 (called 'tdc_f') and 1882/1885 (called 'qdc_f'), the appropriate entries in LIMITS are shown in table gif.

  table109
Table: Address ranges for electronics modules in table LIMITS  



Back to GSI Home Page Back to FOPI Home Page Index

fopi
Fri Oct 25 16:39:46 CST 1996