![]() |
|
|
This simple program is a demonstration of how to use the LabVIEW Report Generation Toolkit to read data from Excel. The first part of the program is a File Dialog Express.vi that selects the Excel file that you want to read (use the read_eecel_values.xls in the attached zip file). Then the correct worksheet is selected with the "Excel Get Worksheet.vi". This is done with the worksheet index number for the first two sheets and by worksheet name in the last. After each "Excel Get Worksheet.vi" there is an "Excel Get Data.vi". For the 2-D array data types you must give start and end points for the array. For non-arrays you only need to give the location of the cell.
Great code! Thanks for sharing this!