05-18-2007 09:10 PM
05-21-2007 08:40 AM
Hi dfd,
There is an example that both reads and writes to an AVI file that ships with LabVIEW. It is called AVI Read Write with Data Example.VI. If you look at that example you will see after the Write is preformed the IMAQ AVI Close function is used. And then the reference to the AVI file is reopened before performing the read. Each AVI session is going to be either a read or write session. So when reading the AVI file, read the frames into an array and then close the session. Once the image processing is complete reopen a new AVI session and write the frames to file. I hope this helps.
Have a great day,
GG
05-21-2007 08:57 AM
As far as I know, you can't modify a frame within an existing AVI. You will need to read the entire AVI and write the modified version to a different file. You can open the references for both files simultaneously, which makes the copying a little simpler, especially for very large AVI files.
Bruce
05-21-2007 04:49 PM