Overview
To demonstrate how to calculate the average of 5 seconds of data stream.
Description:
This is an example showing how to use a button to collect some data over a period of time and then displaying the average result. The button is disabled while data is being collected to prevent accidentally shutting off data collection prematurely.
Steps to implement or execute code
To implement this example:
- Run the VI
- Click "Collect Data" to start averaging
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-




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