LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

delimiter

Solved!
Go to solution

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!

Download All
0 Kudos
Message 1 of 4
(2,874 Views)

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.

Message 2 of 4
(2,867 Views)
Solution
Accepted by topic author 3rdOlin

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.

Message 3 of 4
(2,863 Views)

Yep, it works! Thank youSmiley Happy

0 Kudos
Message 4 of 4
(2,840 Views)