02-06-2007 07:57 AM
02-06-2007 12:26 PM
hello,
Maybe this is not what you want. But if you wanna a way of saving your snaps to a directory you can do a simple thing as simple as I show you in the pic attached. You just have to but that inside a case that's true in the period that you want. And then you connect something to the "pic number" control in order to give different names for every snap.
I don't have time to analyze you .vi. But I think that it's very complicated. And worst than that it's that maybe not very well programmed and you might have some problems. You have several parts of the code that you don't garanty Dataflow. Pay attention to that.
This it's only a few ideas.
Best regards,
02-09-2007 06:58 AM
Hi Honeyb
The reason your being asked for a file every time you want to save an image is because you are creating the file inside the while loop (with the IMAQ AVI Create VI). There is a Grab and Save to AVI VI in the shipping examples that demonstrates how to configure your camera and your AVI file properly. Open the Example Finder by going to Help >> Find Examples, then search for AVI.
02-12-2007 03:37 AM
Thanks it has been resolved. As suggested, I built an array of images using the build array function inside the loop then send it to the avi vi outside the loop. It's now working fine.
Thanks a lot