To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI shows how to log one value every second and 60 values average every minute.
Description
This VI iterates one loop for second. A random value is generated every loop iteration and put into the array. The random value is also written to a spreadsheet file. The loop executes the true case once every minute. Inside this case the array of values gets averaged and that average value is written to a spreadsheet file.
Requirements
Steps to Implement or Execute Code
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.