Example Code

3D Waterfall Plot to view Noise over time

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Overview

This example shows how to use the 3D Waterfall plot.

 

Description

In this VI, two sine waves are generated -- 1 with periodic random noise, 1 clean sine wave.  20% of the time, we see the noisy sine wave, and 80% of the time, it's a clean one.  We take the FFT of the signal to determine which frequencies we see our noise on.

 

Requirements

  • LabVIEW 2012 Full Development System (or compatible)

 

Steps to Implement or Execute Code

  1. Run the VI and the 3D Waterfall control will display the surface of the FFT of the signal.
  2. The Graphs and Array on the right show the signals and FFT to help understanding the VI.

 

Additional Information or References 

Front Panel

3d_waterfall_noise.png

 

VI Snippet

1.png

 

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Che T.
Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.