LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading a file from excel

hello all , 

 pls give me a solution for this . i have tried to read a excel file using "read delimited spreadsheet " . its read everything as zero not the exact data . i have attached my files excel file and VI . Have a look at this .

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

Look into this : All Zeros Returned when Reading an Excel File: http://digital.ni.com/public.nsf/allkb/0C2969C5673DCEF586257A080055F597

Thanks
uday
0 Kudos
Message 2 of 4
(4,320 Views)

Hello,

 

you don't use the good functions, you have to use the Excel function to read an Excel file.

I have attached a modified VI.

 

Regards

Message 3 of 4
(4,317 Views)

Hello,

This VI cannot read .xlsx files. Therefore, you have two alternatives:

The first one is to save your excel file under .txt format

for example save as Text (MS-DOS) (*.txt).

Be sure you have selected String as data type and change the indicator as well, since you have some strings in the first row.

.txt to Excel.jpg

The second alternative: I provide you a small program that will allow you to read Excel files (and .txt files) in LabVIEW.

 

Greetings and Regards,

James.

Greetings and Regards,
James
Message 4 of 4
(4,310 Views)