Example Code

Rub and Buzz Measurement (DAQmx)

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 Sound and Vibration Toolkit

Code and Documents

Attachment

Download All

Description

Overview


Two VIs are included with this document:

  • Rub and Buzz Measurement Example (DAQmx)
  • Rub and Buzz Analysis VI

Add this rub and buzz measurement VI into your application to calculate the rub and buzz percentage of your audio system components.  The VI utilizes THD and harmonic analysis data from the THD VI in the NI Sound and Vibration Toolkit.  Users can configure the minimum and maximum harmonic to calculate rub and buzz percentage from.

This Virtual Instrument is designed to work with data acquisition hardware from National Instruments. To find compatible hardware for this application, visit ni.com/soundandvibration.

This software is written in LabVIEW, a graphical programming language designed for scientists and engineers. For more information about LabVIEW, visit ni.com/labview.

More information on National Instruments signal processing can be found at the Signal Processing Resource Center.

About Rub and Buzz Measurements

Rattle noise or rub and buzz are part of a class of non-linear, irregular, impulsive and unwanted distortion effects, which are not normally found with regular units under test (UUTs), rather they are typically produced by mechanical and structural defects in the UUT.  Due to short pulses of very low energy traditional testing and analysis methods like RMS-FFT and Total Harmonic Distortion (THD) are not useful.

Front Panel Screens

These are pictures of the VI's front panel tabbed content. To view the block diagram and additional documentation, download the attached file.

This example requires LabVIEW and the Sound and Vibration Measurement Suite. 

Rub and Buzz Analysis Function VI

Rub and Buzz DAQmx Example VI

Related Links

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