Allow setting latency_time > 0
Some of the scientists would like to use the bpm viewer where they can decouple exposure time and acquisition frequency. I've enabled this option in the bpm viewer now, but it seems the camera doesn't actually support this functionality.
If you set a latency_time
!= 0, and run prepareAcq
you get:
DevFailed[
DevError[
desc = limacore.Exception: Hardware: setBin(/opt/conda/conda-bld/lima-camera-basler_1658736749318/work/src/BaslerCamera.cpp, 1298): Error: Cont
rol channel not open.
origin = Traceback (most recent call last):
File "/users/blissadm/conda/miniconda/envs/basler/lib/python3.9/site-packages/Lima/Core/Debug.py", line 64, in real_fn
return new_fn(*arg, **kw)
File "/users/blissadm/conda/miniconda/envs/basler/lib/python3.9/site-packages/Lima/Server/LimaCCDs.py", line 1850, in prepareAcq
self.__control.prepareAcq()
limacore.Exception: Hardware: setBin(/opt/conda/conda-bld/lima-camera-basler_1658736749318/work/src/BaslerCamera.cpp, 1298): Error: Control channel
not open.
reason = PyDs_PythonError
severity = ERR]
I spoke to @debionne and he tells me there is an option somewhere in the api to change the latency time. I have not dug into the cpp to check whether this is exposed, any help would be much appreciated!