LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can labview access data from spreadsheet?

I have a list of data stored in excel. e.g. containing 10 rows and 6 columns. can I use labview to open the file and extract one of the rows selected by the user for further manipulation? If labview can do that, what approach should I take?
0 Kudos
Message 1 of 6
(3,095 Views)
Yes it can.

There's an example that ships with LV (look under the section on ActiveX) that gives a good example of how to interact with Excel.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,095 Views)
could you please specify where the location is?
0 Kudos
Message 3 of 6
(3,095 Views)
Under v6.1, in the examples search window, do a search for "ActiveX" and you should find it. With v6.0, open the examples window and select "Communication" and then "ActiveX Examples".

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,095 Views)
There are other ways to do this other than ActiveX. It all depends on what you want. Although you cannot read and interpret excel files directly without ActiveX, you can save your excel worksheet as a tab delimited text file you can use the "Read From Spreadsheet File VI" to read this type of file. The output of this VI will be a 2-D array of your spreadsheet data. You can then index a row from this array and do your manipulation.
0 Kudos
Message 5 of 6
(3,095 Views)
Hi,
to import data from XLS follow this previous post:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=506500000005000000D3C40000&HTHREAD=000050387&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

Alberto
0 Kudos
Message 6 of 6
(3,095 Views)