LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to see the contents of a folder, not only the name of it as LIST.vi does, but i need to access its contents also. Is there a vi that can go through a folder and all its contents?

Where do you want to "see" the folder contents? On your front panel? In a dialog box? Just within your code?
There are a couple of functions on the File I/O >> Advanced FIle Functions palette. Look at File Dialog, which pops up a Windows Explorer type window through which you can navigate and view folder contents, or List Directory, which create two string arrays: one for file names and another for folder names. You can use List Directory recusively in a loop if you want to drill down through a directory structure.
Message 2 of 2
(2,602 Views)