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??
Page 1 of 1
how to read all text files in folder read text
#2
Posted 29 July 2009 - 08:19 AM
levin.hua, on 29 July 2009 - 10:03 AM, said:
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??
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
Posted 29 July 2009 - 09:35 AM
Faint, i didn't take a look at all funtions on palette. Thank you Antoine! This function is which i am looking for!
Share this topic:
Page 1 of 1

Help

Back to top
MultiQuote










