Update ITS readout script

It looks like some of the DWRAPPER functions now have an additional argument “wrap”, so this breaks the its-readout-test.py script and needs to be updated for the following lines:

#disable all links (should be done by constructor)
cru.dwrapper.linkEnableMask(0)

#enable selected links
#links=[0,1,2]
#links=[1]
links=[0]
for l in links:
cru.dwrapper.linkEnableBit(l)
cru.dwrapper.setGbtDatapathLink(wrap=0,link=l,is_GBT_pkt=1,RAWBYLEN=1,RAWBYID=0,RAWMAXLEN=0x1EA)

Ciao Jo,
yes we moved some functions and we are upgrading the script.

The script to configure the card for your detector is in standalone_script.py and it looks like

python standalone-startup.py -i 2:0.0 -c local -g gbt -l 0 -x sc -m packet

Please check here for more instruction to configure the CRU

https://gitlab.cern.ch/alice-cru/cru-sw/tree/develop/DETECTORS