01-08-2007 08:20 AM
01-09-2007 01:27 PM
Hello Shaunkhoo,
Have you tried running the Read AVI example? You can find LabVIEW examples either through the Example Finder or directly at
C:\Program Files\National Instruments\LabVIEW 7.1\examples\Vision\2. Functions\AVI
Also, the AVI Read Write With Data Example will give you another way to set up your code to access your AVI file frame by frame. If these examples work correctly, you could incorporate the code into your existing system. To verify that the error occurs at the AVI Read Frame function, you might also want to try using highlight execution to follow the data flow and determine the exact source of the error in your system. If the error is actually occurring when you write to an AVI and you are getting this incompatibility issue, you might also try converting your image type to either 8-bit or RGB. There is a Knowledge Base document that mentions how to convert your image to the appropriate type using MAX or Vision which I have linked below:
Incompatible Image Type Error (-107439607x) When Writing an AVI File
I hope this helps. Please let us know if you would like further clarification or assistance regarding this issue.
Regards,
Vu D
Applications