08-02-2023 02:39 AM
I have successfully capture a picture, but the program cannot saving multiple file. It keep duplicate the existing file when I capture the picture. Can someone help me on this.
Solved! Go to Solution.
08-02-2023 02:55 AM
You have to give a different path name for each picture. If the File Path stays the same, it will overwrite the old picture.
08-02-2023 02:58 AM
I have try, but keep duplicate the first file name.
08-02-2023 08:30 PM
Do you know the difference between an IMAQdx "Snap" and "Grab"? "Snap" asks the Webcam for a single image, while "Grab" asks for a Video. You coded up a "Grab", which you would ordinarily save as an .avi file, not a .jpeg. Note the easiest way to acquire multiple images and save them in a compact manner (in a single file) is to acquire a Video at, say, 1 frame/sec, for 30 seconds (you'll get one file with 30 sequential images).
This is probably not what you want to do. Learn more about IMAQdx (a reasonably "advanced" LabVIEW topic -- I didn't get exposed to it until I had been developing for several years ...
Bob Schor
08-02-2023 08:42 PM
Thank you for the information. Get it.
08-02-2023 08:44 PM
Do you have any example program model that I can refers to ?
08-02-2023 09:07 PM
Have you looked at the Examples that ship with LabVIEW? One is called "Stream to AVI file" -- you might find it helpful.
Bob Schor