When in Single or Multiple mode, the driver sets framesRemaining to 1 or numImages, respectively. However, when it receives a bad frame, it won't decrement framesRemaining nor reissue new triggers, which will leave the driver stuck in the Acquire state.
Although ideally the driver shouldn't be receiving bad frames, I think it shouldn't get stuck when it does. However, I don't know how to properly address that. Should it fail and return an error? Should it reissue the acquisition for the frames that came in bad? What about hardware triggers?
When in Single or Multiple mode, the driver sets
framesRemainingto1ornumImages, respectively. However, when it receives a bad frame, it won't decrementframesRemainingnor reissue new triggers, which will leave the driver stuck in theAcquirestate.Although ideally the driver shouldn't be receiving bad frames, I think it shouldn't get stuck when it does. However, I don't know how to properly address that. Should it fail and return an error? Should it reissue the acquisition for the frames that came in bad? What about hardware triggers?