LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

List files within subfolders

Solved!
Go to solution

In my VI, i've gotten as far as listing all of the files in a folder using the list folder.vi function.

Is there anyway it can list all files including files in subfolders?
I could use a list folder function on each subfolder but that would take forever. 

 

Cory K
0 Kudos
Message 1 of 5
(4,518 Views)

Cory K wrote:

I could use a list folder function on each subfolder but that would take forever. 


But that's the only way to do it, really.

 

LV 8.x should have a recursive listing VI built in.

If you don't have 8.x, you can get one from OpenG.


___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(4,516 Views)
OK, well then I'm going to make the computer do it for me..... let me see what I can do.
I'll be back if I run into a problem.
Cory K
0 Kudos
Message 3 of 5
(4,513 Views)
Solution
Accepted by topic author Cory_K

The VI that tst is refering to is vi.lib\utility\libraryn.llb\Recursive File List.vi.  It's been shipping with LabVIEW since version 7.0, but it was not added to the palettes until version 8.2.

 

-D

Message 4 of 5
(4,502 Views)
That just saved me a ton of work. Thanks
Cory K
0 Kudos
Message 5 of 5
(4,477 Views)