LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read image file using auto-indexing

Solved!
Go to solution

Hi, I want to read three image files with the same way by using auto indexing, or some other smart way.

Right now, I'm using the same code three times. I've tried using auto indexing but it didn't work for me.

 

I wan't to read the files: image 1, image 2, image 3 in the same way.

 

The only thing different are the files. Everything else is the same.

 

hobbes8000_0-1676622106474.png

 

hobbes8000_2-1676622170064.png

 

Thank you.

Yoo

 

 

0 Kudos
Message 1 of 2
(668 Views)
Solution
Accepted by hobbes8000

You can autoindex on an array of paths and array of names using a FOR loop. Since the string corresponds to the filename in your case, you don't even need an array of names, just get the filename without extension.

 

(If the list of files can easily be obtained from a pattern, e.g. "image *.png", you could use "list folder" to get the array of paths.)

 

 

altenbach_0-1676649504162.png

 

Message 2 of 2
(663 Views)