Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write an .avi from .tif's stored on harddisk

I have looked at the avi readwrite example but this example is set up to be used with IMAQ hardware. I don't understand the structure of the nireadwrite.dll and how to use it properly.

Does somebody have a better example for me?
0 Kudos
Message 1 of 3
(3,426 Views)
Hello Rogier,

The VI that you are using is acquiring images from an IMAQ HW device, and then converting those images into a 2D array. You just need to exchange the IMAQ Acquire with an IMAQ read file from disk VI, and then feed that image to the "IMAQ ImageToArray".

Hope this helps,

Morten Jensen
National Instruments
0 Kudos
Message 2 of 3
(3,426 Views)
I have tried this approach with no success. Everything appears to work fine as I create the AVI file (i.e. the images look okay in the IMAQ window and the file does get created). However when I use the AVI Testread example to view the file I get a window of zero size. When I try to view it using Windows media player I get the following error: "No combination of filters could be found to render the stream"
One thing I have wondered about: The example TestWrite AVI program I downloaded from this site opens with a bad wire between the property node and IMAQ Create.vi. Is this issue due to my using Labview 6.1?, and is my problem with AVI files related?
I would appreciate any suggestions you can offer.
0 Kudos
Message 3 of 3
(3,426 Views)