LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read a set of 100 files from a folder one after other

The problem I am trying to solve is I have a set of 100 files in a folder named "filename....x.txt" where x varies as 1,2, ........100. I have to read these files one after other from this folder. Plz enlighten me as how to go abt..............

0 Kudos
Message 1 of 2
(2,317 Views)
Use "list file" and get all matching files from a certain folder, then autoindex into a FOR loop, for example (see image).
 
 
(Of course you could also generate the filenames dynamically using the iteration terminal and some formatting operations.)
 
The details after that depend on what you want to actually do with the file contents.
 
If you need a more specific answer, please attach some simplified code of your problem. What is your LabVIEW version?


Message Edited by altenbach on 08-09-2008 12:34 AM
0 Kudos
Message 2 of 2
(2,313 Views)