08-05-2009 10:58 AM
Hi everyone,
I try to index an array of images and all but the last element give me the error: "not an image."
Here is a picture of the vi. The first for loop loads the images and stores them in an auto indexed tunnel. Every diagnostic I ran on this loop showed everything is fine. The second for loop should display the sequence of image stored in the auto indexed tunnel, but it does not. Instead I have the error message that elements 0 to n-1 are not images, and only the last image is displayed.
What am I doing wrong?
Thanks for your help.
and the vi:
Solved! Go to Solution.
08-05-2009 11:19 AM
Hello,
This VI worked fine for me with an input of 5 bmp files. Could you check your input files?
08-05-2009 12:00 PM
Thanks to your hint I tryed on another computer and the vi works. The problem comes from the IMAQ image generation that is different from some reason. I will reinstal that part of LabView.
One day of work down the drain 😞
08-05-2009 01:20 PM
Side-note: the way you are wiring the error clusters is not correct. You should be using shift registers for the error clusters. Make sure you initialize the shift register for the left loop with a "no error" error cluster.
I don't understand why you have 2 loops. It seems to me that the code for the second loop should be in the first loop, and you have just one loop.
08-05-2009 01:34 PM
08-05-2009 01:58 PM