I did dig more in depth to how you could abort the snap.vi.
The shorter timeout is the right way to go about this. If you want to be able to close the program while waiting for a trigger you set it up to timeout as often you want to check the stop condition, just like my image shows. There are some cameras that can accept abort attributes but that needs to be a write to registers or attributes of the cammera.
Thing is that polling the timeout often wont miss any triggers. If a trigger is occuring while you just timed out the camera will still snap a frame and next time you call snap vi you will get that image directly. Therefore no harm in short timeout and polling the snap VI more often.
Best Regards
Jonas Mäki
Systems Developer
Novator Solutions