The socalled cable files or PM-number files contain tables with channel numbers ordered according to their position on the Digital Cards in the VME-crates. There is a file for each of the components utilizing Digital Cards (except LED which sends its numbers via RPN-logic files):
CAL, SRTD, PRES, BPC, FNC, LASERMONITOR, PRT and BPRES.
Each component can thus use its own numbering scheme. The numbers appear e.g. in the time/energy banks and sample banks.
The files are accessed through symbolic links in directory
/zeus/transputer/online/vxx.y/bin/host
and are named calcable.dat, srtdcable.dat, prescable.dat, bpccable.dat, fnccable.dat, lasermonitorcable.dat, prtcable.dat, bprescable.dat respectively.
The actual files are in directory
/zeus/transputer/online/vxx.y/bin/cablefiles
The files are in ZEBRA-format and contain one bank per crate containing Digital Cards for that particular component.
The ZEBRA-files are generated from ASCII-files containing the PM-number tables; the tool named cable2zebra (just type cable2zebra to run the tool) and the original ASCII-files can be found in directory
/zeus/transputer/tools/cable2zebra
The format of the ASCII-files is as follows:
<crate-id> <number.of.PM.numbers> <PM-no0> <PM-no1> <PM-no2> <PM-no3> <PM-no4> <PM-no5> <PM-no6> <PM-no7> <PM-no8> <PM-no9> ........... <crate-id> <number.of.PM.numbers> <PM-no0> <PM-no1> ........... etc. etc.
in which crate-id is a hexadecimal number, written in decimal and defined as:
crate.id = #2000 + CAL + (crate-number - 1)
with CAL=#10 (FCAL) or CAL=#20 (BCAL) or CAL=#40 (RCAL).
As an example follows the LASERMONITOR PM-number ASCII-file (1 Digital Card (24 channels) in RCAL crate 9 (crate-id = 8192 + 64 + 9 - 1 = 8264); the channels which are zero are unused channels:
8264 24 0 128 129 130 131 132 0 133 134 135 136 137 0 0 0 0 0 0 0 0 0 0 0 0