Connexions

You are here: Home » Content » Measurement Averaging VI
Content Actions
Lenses

What is a lens?

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...
Affiliated with (?)
This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • This module is included in aLens by: National InstrumentsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "A full introductory course on programming with LabVIEW."

    Click the "National Instruments" link to see all content affiliated with them.

    National Instruments
Also in these lenses
  • This module is included inLens: Connexions Books Available for Print on Demand
    By: ConnexionsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "This book is available through the Connexions beta version of print-on-demand from online materials."

    Click the "Printable Books" link to see all content selected in this lens.

    Printable Books
Tags

(?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Measurement Averaging VI

Module by: National Instruments

Summary: In this exercise, the objective is to reduce noise in analog measurements by averaging.

Problem 1
  1. Run the Voltmeter VI.
  2. Introduce noise into the temperature measurement by changing the Temp Sensor Noise switch on the DAQ Signal Accessory to the ON position. The measurements begin to fluctuate with noise spikes.

1.a) Block Diagram

  1. Stop the VI and display the block diagram. Modify the block diagram to calculate the average of 100 measurements.
    MeasurementAveragingbd.png
    Figure 1
  2. Collector.png Place the Collector Express VI located on the Functions>>Signal Manipulation palette, on the block diagram. This Express VI creates an internal buffer to store the individual points. When the maximum number of input points is collected, the Express VI discards the oldest points and adds the newest points. In the Configure Collector dialog box that appears, set the Maximum number of samples to 100. Click the OK button to close the dialog box.
  3. statistics.png Place the Statistics Express VI, located on the Functions>>Analysis palette, on the block diagram. In the Configure Statistics dialog box that appears, place a checkmark in the Arithmetic Mean checkbox to perform averaging on the collected data. Click the OK button to close the dialog box.
  4. Select File>>Save As to save the VI as Measurement Averaging.vi in the C:\Exercises\LabVIEW Basics I directory.
  5. Display the front panel and run the VI. Notice that the noise spikes are reduced when the Temp Sensor Noise switch is turned on.
  6. Stop and close the VI.

Comments, questions, feedback, criticisms?

Discussion forum

Send feedback