09-09-2008 09:22 AM
Is it possible to append to the end of an avi file?
I created a file, wrote to it and then I closed the file.
Later in the program I open the file and then write to it. After the program is finished running and I the file is viewed and none of the stuff I thought I wrote is there in the file.
Any help/suggestions appreciated.
09-09-2008 09:52 AM - edited 09-09-2008 09:52 AM
anonamouse -
The NI Vision AVI functions do not support directly appending to an existing AVI file. If you would like to do this, you'll need to create a new file, copy all the existing frames to that file and then add frames to that file before closing it.
Hope that helps!
Greg Stoll
Vision R&D
National Instruments
09-09-2008 10:02 AM
Thank you for your help. Knowing to stop beating my head against a wall is a big relief. The common causes of abnormal program termination are filling up the hard drive, battery running down on the UPS or notebook, and user malfunction. I am collecting 30 to 50 gig of uncompressed video, so doing a mouth-wash-swish from one file to another before each recording is prohibitive with current consumer grade hardware. It will be easy enough to stack them together later.
Thanks again.