To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code uses the Report Generation Toolkit for Microsoft Office to allow you to insert data into a preformatted Excel spreadsheet and retrieve results from custom calculations.
Description
This code will generate two arrays of ten numeric values each one. On the first array we will have a count from 0 to 9, while on the second, we will be generating ten random numbers between 0 and 1. After this, we will be inserting the data on the specified excel spreadsheet. The document will make automatic calculations and we will retrieve that data in order to display it as well.
Requirements
1. LabVIEW 2012 or compatible
2. Report Generation Toolkit for Microsoft Office
Steps to Implement or Execute Code
1. Use the browse option of the path control to point to the test_data.xls file.
2. Run the VI.
Additional Information or References
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.