<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="4"><font face="monospace">Hi All,<br>
<br>
Adding an additional CAEN1290 TDC to the TOF TDC crate requires
to modify the DAQ code because<br>
the number of TDCs in the crate is hard coded. <br>
(it will also require to update some configuration parameters.)<br>
<br>
caen1290_init.c<br>
----------------<br>
address list is fixed to 6 modules: <br>
int Nc1190 = 6;<br>
..<br>
and<br>
..<br>
<br>
tdc1190Init(0x11180000,0x80000,6,0);<br>
<br>
further down in the code the 6 modules are initialized to
whatever value the module in slot 3 is configured to<br>
because for most initializations of individual parameters of the
modules the array element [3] is used by using<br>
caen1290[3].xxxx instead of <br>
caen1290[slotNumber].xxxx<br>
<br>
This does not pose a problem if <br>
a) all modules are configured the same and <br>
b) there is a module in slot 3<br>
<br>
<br>
for the RC parameters adjustments the correct slot-number scheme
is used<br>
<br>
<br>
cheers,<br>
Beni<br>
</font></font>
</body>
</html>