Add Acquisition Timeout attribute
Most of the cameras have an acquisition timeout that can be set with the SDK (but most of the time are hardcoded in Lima). For instance the PCO have Set_Grabber_Timeout
(hardware timeout) and Wait_For_Next_Image
(software timeout) that both limit the time spent waiting for a frame. It is currently hardcoded to 5s (AFAIK arbitrarily) for an edge CLHS.
For some scans with two motors, one slow and one fast, the time between two frames during the slow motion might exceed the timeout and the detector would get into fault state.
The timeout should be configurable. An attrbitute acq_timeout
could be added. I believe it should not be camera specific but an addition to the hardware interface.
cc: @valentin.valls , @papillon
Edited by Samuel Debionne