Hey Rick,
There are a couple of different methods for getting the image data into the AVI:
1 - Use an IMAQ image with a border of 0 and pass the pointer to this image using the imaqGetPixelAddress that Kyle described (make sure the border of the IMAQ image is 0 if you use this method).
2 - You can convert the IMAQ image to an array using the imaqImageToArray function and this will avoid any problems with the IMAQ image having a border.
3 - Copy an IMAQ image with a border to IMAQ image Image without a border and pass the pixel pointer of the image without the border.
It sounds like you want to read several BMP files and save them to a AVI file. I would recommend calling IMAQ Vision functions to read BMP files to IMAQ Images with a border of 0 an
d then passing the pixel pointer of the IMAQ Image. If you want lower level functions that don't use Vision, there are CVI Utility functions for reading a bitmap file (GetBitmapFromFile) and getting the data (GetBitmapData), which gives you a pointer that you could pass to the AVI function for writing.
Hope this helps,
Brad Buchanan