Example Code

Saving Multiple Spreadsheets Programmatically

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Coding that exemplifies how to programmatically create spreadsheet files with different names every second.

 

Description

This code will create data inserted by the user and every second it will create a .xls file with the specified information, but with a unique name.


Requirements

LabVIEW 2015 SP1 (or compatible)

 

Steps to Implement or Execute Code
1. If desired, select the data to store in the files on the Block Diagram.
2. Specify a folder to store the files to be created.
3. Select the Run button.
4. Stop the execution with the Stop Button.

 

Additional Information or References

Snippet.png

Kyle A.
National Instruments
Senior Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.