04-18-2007 06:46 PM
Hi cphuong,
No need to apologize. I was able to get the program to index all files in the sub folders. But now it seems I have developed an unexpected problem. I think the problem occurs with the value I am sending to the shift register. The program is sending the paths of the individual files to the recursive vi, giving me an error about non existen path. What should I send to the shift register, so it is not searching the files found in the sub folders? Eventhough I am still getting the error, the program displays the correct values in the indicator. When I tried to suppress the error with an error indicator, the program ran extremely slow.
Thanks again,
Adam
04-19-2007 12:55 PM
Hi Adam,
You will need to use the shift register to build the array of data you want to
display, but use the original tunnel structure to search through the
directory.
Please let me know if this is unclear or if you have any additional questions.
04-19-2007 03:14 PM
Ok, with your help, I was able to figure out how to display the entire files in the sub folders. I don't understand why the array containning all the files is a 2D array. Inside the 2d array are blank lines. I am confused at how labview is auto-indexing the array. Is there away to output all the files of the sub folders into a 1D array without using the auto-index feature? If I don't use the auto-index feature, I only get the last element of the array. Is this what you had in mind when you said use the shift register to build the output array, and the original tunnel to search the sub folders? It's so close to working.
Adam
04-20-2007 04:30 PM