07-12-2010 10:44 PM
Hi!
This shouldn't be a hard question, but it has taken me a while anyway. I am trying to read text file (e.g. the one attached) into my VI, and then to read these data using a spreadsheet. It seems that the readFromSpreadSheet function has difficulty recognizing the end of line delimiter. So far I am only able to read the first line of the data. Can anyone help me with this problem? Thanks so much!
Solved! Go to Solution.
07-12-2010 10:53 PM
That delimiter is for the separation of the columns, not the rows. Please review the LabVIEW Help on that VI. Leave that input disconnected and it will read it just fine.
Also, you should not use string constants on your block diagram for starting paths. Use a path control (not a string control) set to a default value so that it can be changed.
07-12-2010 10:57 PM
The delimiter is for specifying what separates items on the same line - not what separates lines. You only have a single item per line and don't need to specify any delimiter. You would get the 2D array or select transpose and get the 1D array.
07-13-2010 08:43 AM
Yep, it works! Thank you