To proceed further, I would need to be able to send SYNC and PHYS triggers, either manually or at a fixed frequency. Looking at the documentation, I see the following option in patplayer.py (I’ve not yet upgraded to the latest version of the tools):
"--no-sync-at-start", help="Enable/disable automatically sending sync pattern when runenable goes high"
Does it mean that a SYNC signal is automatically sent when DETECTORS/daq_start.sh is executed? If not, what else is needed for this?
Also, is it possible to set-up the patplayer to send physics triggers at a fixed frequency?
I have also seen this other thread about RST and SYNC triggers for the TPC tests, and I am wondering if I’d run into the same problems as described there with the idle pattern, unless I update my fw/sw…
Is there a specific reason why you don’t use the latest version? If not I would suggest to do so, because many things have changed since then (there’s no daq_start.sh anymore for example, fixes etc.).
For sending physics triggers with the patternplayer, you need to set the SYNC pattern to 0x10 beacuse bit 4 is the physics trigger in the TTCPON payload. (you can’t send a different SYNC pattern and physics triggers at the same time; physics trigger is basically your SYNC pattern) Select the same bit (4) as trigger for the SYNC pattern with the option
–sync-trg-sel 4
Then you can use the CTPemulator/LTU to send physics triggers periodically (which will trigger the patternplayer to ‘forward’ it as a pattern)