Hello Lava fellows,
I found that LabVIEW is not so intelligent at data import compared to Matlab.(Just personal view! )
I got a set of data stored in txt file. The good thing is that it's pure numeric data, but the bad thing is that the delimiters between columns are not uniform, sometimes space, sometimes tab.
Then I try to import the data with LabVIEW. I tried 2 ways.
1. load in data by "read from spreadsheet". This doesn't work
2. load in data by "read from txt file", then "string to spreadsheet array", it failed again.
I guess the problem is that the delimiter symbol is not consistent.
Then I give up and turn to Matlab, just one use command "load" that's all. The data is imported and stored as a 2d array.
Of course I can first read the txt file and then use string functions to replace all the space with tab (the worst thing is that even the number of space between columns are not equivalent.)
and then convert string to array. But this is really time consuming. I wish LabVIEW could be as intelligent as Matlab in the field of data import.
Maybe there are some high level technique exist in LabVIEW in this field that I am not aware...
Please be kind to share your ideas here
Thanks