Virus scan in progress. Please wait to download attachments.
This simple program is a demonstration of how to use the LabVIEW Report Generation Toolkit to read data from Excel programmatically.
The first part of the program is a File Dialog Express.vi which asks the user to select the Excel file that he wants to read (use the read_excel_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" which will grab the data corresponding to the start and end position (or location depending on the type of array) passed into the SubVI. 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.