LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do you tell the read from spreadsheet vi which cell to read from?

hey this main seem like a stupid question:( but i can't get my read from spreadsheet vi to read from a particular cell in the spreadsheet...what am i doing wrong??
 
kindest regards
 
finny
0 Kudos
Message 1 of 6
(3,237 Views)

You can't specify a specific cell (row and column).  You usually read in the entire sheet and then use Index Array or Array Subset to extract the cell or cells you need.

 

- tbob

Inventor of the WORM Global
Message 2 of 6
(3,229 Views)
If reading single values is critical for you application, you should represent the data in a simple binary file. Now you can just read from a certain file position.
0 Kudos
Message 3 of 6
(3,222 Views)

and adding one point omited by the previous.

That VI does not work on Excel files.

It is intended for delimited files.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 6
(3,214 Views)


@Ben wrote:

and adding one point omited by the previous.

That VI does not work on Excel files.

It is intended for delimited files.

Ben




It amazes me how often there are questions about reading from/writing to Excel files.  Of course the read/write spreadsheet file VI's you would think would do that based on their name.  But in reality, they don't.  Like you said, Ben, they are for delimited files.  I, myself, wouldn't call a comma delimited file (or tab delimited) a "spreadsheet" file, but NI does.  Based on the number of questions asked about Excel and "spreadsheet" files, I think most people are confused by that.
 
I wonder if NI should have come up with a better, more accurate name for those particular VI's.
 
And based on the number of times these questions are asked, you'd think they would never need to be asked again because a search of the forums would show they've been answered hundreds of times before.Smiley Happy

Message Edited by Ravens Fan on 08-22-2007 05:22 PM

0 Kudos
Message 5 of 6
(3,202 Views)
hey guys! thanks for all the answers!!
0 Kudos
Message 6 of 6
(3,180 Views)