Overview
This example demonstrates how to initialize an array, iterate through individual array indexes, and write to spreadsheet file.
Description
This program creates an array of U16 integer values (1-256), writes the array to spreadsheet file, then overwrites the array with new values (next 256 values -- 257-512), writes to spreadsheet file again, then overwrites the array with next 256 values (513-768). Process writes 5 arrays to spreadsheet (.dat) in this manner.
Requirements
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Specify filename and filepath to save .dat or .txt file.
- Click 'Run' arrow.
Additional Information or References
VI Snippet of Block Diagram

**This document has been updated to meet the current required format for the NI Code Exchange. **
------------------------------------------------------------------------------------------
Jon F.
Technical Support Engineer
National Instruments