Thank you for contacting National Instruments. From that error message, it sounds like you are trying to write an image datatype to AVI that is not supported by the AVI functions. If you open the help for IMAQ AVI Write VI, then you will see that the image must be either an 8-bit or RGB image. If you have a camera that acquires a 10-bit image or another format then this will need to be modified in order to correctly write the AVI.
If you have Vision installed, then you can use the IMAQ GetImageInfo VI to see what type of image you have and other properties of that image. With Vision, you also have the IMAQ Cast Image VI available that allows you to convert between different image data types.
Regards,
Michael
Applications Engineer
National Instruments