04-12-2007 11:31 AM
04-12-2007 11:42 AM
04-12-2007 11:43 AM
There is a vi in LabVIEW 8.2, on the functions pallete > file io > advanced file functions > Recursive File List.vi
This vi will show you all the file and sub folders within the main folder, you can then search those folders.
04-12-2007 01:41 PM
04-12-2007 02:23 PM
FYI
In 8.0, the List Folder function (located in the same place as the Recursive File List.vi in 8.2) will return both file names and folder names as strings.
04-12-2007 04:28 PM
04-16-2007 06:29 PM
04-17-2007 07:08 PM
04-17-2007 10:49 PM
Hi,
I changed the loop iterations to match the array size of the new files. The program still only displays the files located in the first sub folder. The loop iterations of the second for loop displays the correct number of iterations of the loop. The last for loop only displays a value of one iteration. The program seems to be unable to append all of the files in the sub folders into one array. This is how I structured the program:
1. Recursive search the main folder
2 Recursive search the sub folder of the main folder
3. Display the all the files of the sub folders.
I have been trying to think of another to structure the program, but haven't come up with one. Is this the correct why to go about this, or is it not possible to display all the files of the sub folders?
Adam
04-18-2007 01:03 PM
Hi Adam,
Thanks for the last reply, that has helped me pinpoint the issue. I apologize
for not catching this last night. You need to transfer your data from one
loop iteration to the next via shift registers. I think this should
resolve the issue of only displaying data from the last loop iteration.
Please let me know if this does not work, or if you have any further questions.