[Halld-cpp] adding a CAEN TDC to the TOF TDC crate
zihlmann
zihlmann at jlab.org
Thu Mar 24 08:34:28 EDT 2022
Hi All,
Adding an additional CAEN1290 TDC to the TOF TDC crate requires to
modify the DAQ code because
the number of TDCs in the crate is hard coded.
(it will also require to update some configuration parameters.)
caen1290_init.c
----------------
address list is fixed to 6 modules:
int Nc1190 = 6;
..
and
..
tdc1190Init(0x11180000,0x80000,6,0);
further down in the code the 6 modules are initialized to whatever value
the module in slot 3 is configured to
because for most initializations of individual parameters of the modules
the array element [3] is used by using
caen1290[3].xxxx instead of
caen1290[slotNumber].xxxx
This does not pose a problem if
a) all modules are configured the same and
b) there is a module in slot 3
for the RC parameters adjustments the correct slot-number scheme is used
cheers,
Beni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-cpp/attachments/20220324/a451dcb1/attachment.html>
More information about the Halld-cpp
mailing list