Example Code

SINAD (Signal, Noise, and Distortion) Measurement

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

Description

Overview


Given an input signal, finds the fundamental frequency and computes Signal, Noise, And Distortion (SINAD). SINAD is defined as the ratio of Signal plus Noise plus Distortion and Noise plus Distortion. You do not need to specify any other input. You can control the amplitude, frequency, and noise level of the input signal. The default signal includes a secondary tone at 11.87 kHz. This program is a shipping example VI included with NI LabVIEW.

LabVIEW Signal Processing Example Programs
National Instruments LabVIEW is an award-winning development environment optimized for engineers and scientists creating test, measurement, and control applications. With NI LabVIEW, users can quickly and easily acquire real-world signals, perform analysis to ascertain meaningful data, and communicate or store results through a variety of means.

Learn more about LabVIEW and NI signal processing.

Front Panel


This is a picture of the VI's front panel. To view the block diagram and additional documentation, download the attached file.

 

basic_sinad_measurement12-42-05 AM.png

Related Links

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