Closed mnirkko closed 6 years ago
Thanks Martti. I guess you've tested this on the teststand? I'm probably missing it, but I don't see where read_pin_sequence_timeout() gets called?
It doesn't! :D This is a new function that needs to be called in ORCA (see above). Will write some more instructions when I have a moment, but it was a late night yesterday...
Ahhh, I see. OK. Thanks! I'll put in the relevant ORCA PR next week. If I don't send you conformation that I've done so please nudge me next week.
I just put up the PR for this. See below:
Looks good. If we can pull this through, I can update snodrop to the snoplus/master branch on Monday, when I'm UG testing TELLIE/TUBii.
Add new functions to call in case of PIN read timeout, to be called in ORCA. This should prevent problems occuring when a previous subrun did not receive the correct number of triggers in Slave mode. Instead, the PIN readings can be extracted and a "soft stop" command is sent. This stops TELLIE firing and clears the buffer, but does not clear all the fibre settings (channel, pulse number etc.) - that way, a new subrun can be started quickly. This fixes a symptom only, it is not a solution for missing EXTA triggers!