ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does labview detect end of file?

Hello!

 

My question is how labview detects the end of file at the Read from Spreadsheet File VI.  What I would like to do is basically to read from a  text file a number of numeric values and afterwards build an array containing these values. Till now I have made a vi that uses the aforementioned vi and put it in a while loop that its conditional terminal is connected to the EOF? but it never stops. Could you please suggest a solution to my problem? (I have already seen a similar question in this forum but the answers didn't help me..) The VI along with an example file to read are attached.

 

Thank you very much

Download All
0 Kudos
Message 1 of 4
(3,690 Views)

Please take off the while loop. and directly connect the indicator to the all rows output of the VI.

That will give you a 2D array of whatever is there in the spreadsheet.

 

Hope this helps. 

0 Kudos
Message 2 of 4
(3,681 Views)
Can you please save the VI in LV8.5 or earlier format?
0 Kudos
Message 3 of 4
(3,676 Views)
It helps! Thanks a lot!
0 Kudos
Message 4 of 4
(3,671 Views)