I am working with a Linea and acquiring long images in the Frame Burst Active mode.
I am facing a technical difficulty: when I get the successive frames generated when the trigger is active, I don’t know if a frame is the last one. Well, in general it will be incomplete and I can just test the number of lines received, but if the last buffer is full by coincidence, that won’t work.
Is there a reliable way to know that the frame is the last ?
It could well be impossible for the driver to tell that a frame is the last, if the trigger goes low a little after the driver has seen a full frame. But then the next frame should be issued with a heigh of zero line.
Say frames are 1000 lines high (0-999, then 1000-1999…) and the trigger occurs bewteen lines 999 and 1000 but a little too late, after the first frame has been confirmed. Then the next frame shoud be empty (because the trigger went down before line 1000), but a frame should be generated anyway to let the user know that acquisition of this image is over.