Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

SQR stuck in ON position

Solved!
Go to solution

Hi all,

I have a program written for collecting raw image data from images which are saved in a folder. I used "Read BMP File.vi" for collecting raw data. The code was working fine initially....But now it shows an error message " SQR stuck in ON position".

 

please help me to solve this.

attached code and corresponding screenshot.

0 Kudos
Message 1 of 4
(4,091 Views)

The error message says it all

Image not found !

Check this.

You are looking for 5 files! Why not check on Filename is empty in while?

greetings from the Netherlands
0 Kudos
Message 2 of 4
(4,074 Views)

sir, 

it says that "image not found"..but images are there in the folder. I am sorry that I forgot to mention that point too. file names goes like 0.bmp, 1.bmp,2.bmp....

0 Kudos
Message 3 of 4
(4,071 Views)
Solution
Accepted by topic author sibeesh

hi,

I could make out my mistake. The tool " Recursive File List.vi" was calling images randomly...so even if I enabled auto indexing mode on the loop, images were called like..0.bmp,1.bmp,2.bmp,10.bmp,14.bmp. In the mean time Labview was searching for 3.bmp insted of 10.bmp..that is the reason why it showed the error message " Image not found". 

 

used "build path.vi" to call the images sequentially.

 

Thank you

0 Kudos
Message 4 of 4
(4,041 Views)