LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read manualy typed excel into labview

Hi,
I need to read manually typed  excel file in labview 7.1,
as I cannot change labview version to 8,
Please let me know if I can read the normal excel sheet which is typed by operator,
How to read in labview 7.1?
Thanx
Swati.
 
Message 1 of 13
(2,914 Views)

Hi Swati,

you can use the ActiveX functions from Excel. And as far as i know there is a library to do it.

Mike

0 Kudos
Message 2 of 13
(2,908 Views)

Hi Swati,

Read the file as usual using the Open File --> Read File --> Close File method & convert the String data into 2D String Array using the Spreadsheet String to Array function from the String palette, by giving the Delimiter as ",".

This ll do the job for you.

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 3 of 13
(2,906 Views)
Does your filehas the extension .csv or something else?
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 4 of 13
(2,905 Views)

Hi Partha,

I tried converting string into array

what shuld be the format?

%s?

i gave delimiter as comma,

didnt read anything,

Thanx.

Swati.

0 Kudos
Message 5 of 13
(2,892 Views)

No man,

no csv file just one simple excel file where i typed something like any number or string and i am trying to read it in Labview,

and i m not able to do it,

Actually,I have to read a master spreadsheet file at clinet location for reading some parameters in labview,

But this seems to be hard than i ever thought,

Please do help me,

Thanx

Swati.

 

0 Kudos
Message 6 of 13
(2,889 Views)

Hi Swati,

see this link: http://zone.ni.com/devzone/cda/epd/p/id/3409. I think this should help you.

Mike



Message Edited by MikeS81 on 03-27-2008 11:37 AM
0 Kudos
Message 7 of 13
(2,886 Views)

Hi

 

  Just Save the Excel sheet as csv text files and read the using the read spreadsheet file.vi, its simple and easy

0 Kudos
Message 8 of 13
(2,883 Views)
See the attached code image.
 
For me, it read both noramal Excel file & CSV file also.
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 9 of 13
(2,876 Views)
Thanx,
It worked,
Only i will have to save that master file with csv format but wil try
thanx
Swati.
0 Kudos
Message 10 of 13
(2,869 Views)