adds a robust digital scan that has some error handling
Maybe useful for bad chips or misbehaving communication under SEU measurements
TBD:
-
Disentangle chip.init()
fromchip.init_communication()
in ITkPixV1 to be able to re-init without masks reset -
Change 5 s sleep to 0.1 s sleep (value from Mark). Only proceed error handling via chip.init() if an additional link check fails and log something with self.log
-
Put chip.init()
in a while loop, in-case it fails -
Make the errors that trigger chip.init()
configurable via scan parameters. As a std. setting omit SOFT errors. -
Remove/optimize sleeps [ ] Maybe: Check also for empty data in theis_rx_ok
function and just send CLEAR. Of cause log this.-
Optimize sleeps in scan loop
Edited by Yannick Manuel Dieter