LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Excel values

Hi all.



Please, don't angry about my question. I know that it is very popular problem and many specialists gave various ways to solve this, but i can't do it.

I need to use from Excel 2-nd and 3-rd columns as arrays in my program.

Would you be kind to help me?

Thanks in advance.



P.S. My Labview version is 8.5.

0 Kudos
Message 1 of 7
(3,313 Views)

As you've said, this is a very popular question which has been answered numerous times. What exactly have you tried that doesn't work? Have you looked at the example that ships with LabVIEW? Instead of posting the Excel file (all 3 MB of it), post your code.

0 Kudos
Message 2 of 7
(3,304 Views)

Hi,

 

You can use Read from Spreadsheet file.vi to read the whole data from excel file and then index the required column using index arrary.

0 Kudos
Message 3 of 7
(3,292 Views)

@GITA_A wrote:

Hi,

 

You can use Read from Spreadsheet file.vi to read the whole data from excel file and then index the required column using index arrary.


Read From Spreadsheet does not work with Excel files. It only works with text files.

0 Kudos
Message 4 of 7
(3,273 Views)

Hi all.

Thanks for replies. Finally I've used LLB Manager, Get values from Excel.vi.

Thanks once more. 

0 Kudos
Message 5 of 7
(3,260 Views)

To what are you referring? The LLB Manager (Tools -> LLB Manager) has nothing to do with Excel.

0 Kudos
Message 6 of 7
(3,253 Views)

Hi Moony,

 

If all you want is the second and third column of your excel sheet then delete everything except those two columns and save it as a

tab delimited .txt file.  You can then read the .txt file in labivew using a "Scan From File.vi"

 

http://zone.ni.com/reference/en-XX/help/371361G-01/glang/scan_from_file/

 

 

David A.

0 Kudos
Message 7 of 7
(3,242 Views)