levin.hua Posted July 29, 2009 Report Share Posted July 29, 2009 Hello, wisdoms! Please kindly give me some advices or hints. Now, i need read all text files in a folder, but i just find i only can read one selected file one time. It seems LV can't read files in folder one by one automatically. Should i use ActiveX or .net?? Quote Link to comment
Popular Post Antoine Chalons Posted July 29, 2009 Popular Post Report Share Posted July 29, 2009 Hello, wisdoms! Please kindly give me some advices or hints. Now, i need read all text files in a folder, but i just find i only can read one selected file one time. It seems LV can't read files in folder one by one automatically. Should i use ActiveX or .net?? Hello, Remember that you are limited only* by your imagination LabVIEW has a function in the "File function" Palette to list the content of a folder : So you can use it to get the content of your folder and then use a while loop to read each file : Of course you can then add improvements to only read text files, etc.. Hope this helps *: well.. almost.. 3 Quote Link to comment
levin.hua Posted July 29, 2009 Author Report Share Posted July 29, 2009 Faint, i didn't take a look at all funtions on palette. Thank you Antoine! This function is which i am looking for! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.