01-22-2020 04:33 PM
Using LV2015, I have a ring acquisition. It runs fine until the camera stops acquiring. This happens because it has a hardware trigger. When the test ends the camera stops receiving triggers. At that point I want the loop containing IMAQdx Extract Image to finish, but it doesn't. As best I can tell this is because I have that vi set to never time out.
I need it to never time out because when I start up the program the camera may not be acquiring.
So how do I tell it there are no more images coming and to move on so the loop can close?
Hopeful this part of the diagram helps.
01-23-2020 09:02 PM
You could stop or close the IMAQdx session, and that will unblock the loop.
01-24-2020 07:19 AM
Hadn't thought of that. Might be a good idea. Thank you.
What I'm doing right now is applying a time out but using the buffer counter to tell me if the vi has timed-out. If it has, I just go around the loop again. I also note if any acquisition has taken place. That way, I can avoid a timeout before starting to acquire but permit a time out when the acquisition is complete and no more images are being received.