07-01-2005 01:03 PM
07-03-2005 05:11 AM
07-06-2005 06:38 PM
Hi Molana,
If you are looking to save these images to file, you can use either the IMAQ Writefile VIs, or potentially the AVI writefile VIs. These VIs are both on the FIle I/O palette of the Vision Utilities subpalette. To write an AVI file, you <b>open</b>, write to, and then <b>close</b> a session, very similar to most processes in LabVIEW.
I also noticed in your code that you are enumerating your USB cameras and closing the camera session all within the while loop. This adds a great deal of overhead and time to your acquisition process. I would recommend moving these processes outside of the acquisition loop, such that they occur once before and once after the snaps.
If you are still having trouble acquiring, I would recommend that you download and install the NI IMAQ driver. It includes examples for snapping and saving images with NI IMAQ. This process is extremely similar to that which you would use in NI IMAQ for USB.
Hope this helps!
Robert