Overview:
This VI will create and save multiple Excel reports by programmatically generating different paths.
Description:
This example demonstrates how to programmatically create a set of Excel Reports. Each report will have a base name chosen by the user and a number based of the initial report number.
The Generate_Excel_Report.vi contains a while loop in which a report is opened, data is written to it, and closed. With each iteration of the loop, a different report will be created and its name will depend on the Initial Report input and iteration number. The Generate_Excel_Report_Build_Path simply takes in the base information from the user and appends the iteration number to the initial report to create a path for the Save Report To File.vi.
Some uses for this example include saving large amounts of data that would be too large to handle at once, or opening and closing files after a certain amount of time.
Requirements: LabVIEW 2012 (or compatible), Report Generation Toolkit. Hardware: none.
Step to Implement or Execute Code:
- Chose a folder to store the reports.
- Write in a base name for these reports.
- Establish the initial report number.
- Run the VI.
Additional Information or References:
**This document has been updated to meet the current required format for the NI Code Exchange.**