odemis icon indicating copy to clipboard operation
odemis copied to clipboard

[fix] driver andorcam2 doesn't update frameDuration until first image

Open pieleric opened this issue 4 months ago • 0 comments

The frameDuration is updated by the "acquisition" thread. However, until now, the acquisition thread was only started on the first time an acquisition was started. So, just after starting the back-end the frameDuration would be incorrect. That's actually not common on real systems, as the camera is almost always first used before doing something relying on frameDuration, but on test cases, this is very common.

Also adjust the simulator with the hardware trigger, to better simulate external triggers typically don't arrive immediately when starting an acquisition.

pieleric avatar Oct 11 '24 16:10 pieleric