LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read files in directory automatically

If I have a programe that will read in 30 files one-by-one, instead of let the program to prompt the user to key in the files name. is it possible that I can let the program reads all the text files inside a directory in automatically sense?
0 Kudos
Message 1 of 2
(2,470 Views)
Go to File I/O / Advanced File Functions/ List Directory. This vi get path to subdirectory and returns array of file names. Now you can run this array into "for" loop and read all files.
Good luck.
Message 2 of 2
(2,470 Views)