To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI will take data and save them to a spreadsheet file. Data are written by columns, to the right of previous data.
Description
By default, Write to Spreadsheet File.vi appends new data in rows.
The main purpose of this example is to show how to transpose your data in order to append columns instead of rows. Using this example, if the file already exists and contains data, new data are written to the right of previous data, in columns.
Requirements
Steps to Implement or Execute Code
Replace the 2D Array constant in the block diagram with your data acquisition code (i.e. DAQ Assistant)
Run the VI. Data is saved by columns
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Is the data recorded in excel spreadsheet?