LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Import excel data for labview control

I'm having some trouble importing excel data into labview. Goals: Input valve flow rates into excel, use those values to control DAQ, have user balance odor with excel defined flow rate, export balance data to excel. Here is what I have so far. Any help is greatly appreciated.

0 Kudos
Message 1 of 2
(3,056 Views)

Where in the code are you reading from the Excel Spreadsheet? What VIs are you using? What are the problems are you experiencing (errors, unexpected values, etc.)?

 

There is a Read From Spreadsheet File.vi in LabVIEW. LabVIEW uses ActiveX controls for .xlsx files, so saving the spreadsheet as a CSV file may be better for this VI. Try it out! See what happens.

 

Here some more info on reading from spreadsheets:

LabVIEW Manual: Read From Spreadsheet File VI

KnowledgeBase article: How Can I Import Spreadsheet Files into LabVIEW using the .csv Format?

Taylor B.
National Instruments
Message 2 of 2
(3,014 Views)