12-23-2011 12:02 AM
Hello,
For my second question of the night.
I am wondering if there is a way to open every file in a folder, run them through a vi, and then append the output to an array or spreadsheet? This would save me lots of time and my wrists.
Thanks
Solved! Go to Solution.
12-23-2011 12:59 AM
Use list folder and autoindex over all file names in a FOR loop, processing each file in the list.
12-23-2011 01:01 AM
Hi,
Yes you can open a file in the folder by using 'List folder' function (Programming>File I/O>Advvanced File Function>List Folder) which lists all the files and folders in the given path. From that you can build the path and give to 'Open File' function.
Hope this helps you. Let us know this solves your issue 🙂
12-25-2011 02:27 PM
Thanks for all the help. I ended up using the list file function as suggested except, I did not need the open file function becuase I used a sub vi that already employed a read from spreadsheet function.