Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Development Topic

Related Links - Developer Zone

Related Links - Products and Services

SignalExpress - Simple Frequency Domain Measurements

1 ratings | 5.00 out of 5
Print

Downloads

Filename: 202376.zip
Requirements: View

This example generates a distorted sine wave and then makes a number of frequency domain measurements on the simluated waveform. Measurements include power spectrum, THD, SINAD, and analysis of the 3rd harmonic.

This project uses the following steps:

1. Create Signal - Creates a simulated 1.3 kHz, 2 Vp-p sine wave with distortion.
2. Power Spectrum - Returns a power spectrum in dB of the distorted sine wave using a Hanning window and RMS averaging (with 4 averages).
3. Distortion - Measures the fundamental tone, THD, THD+noise, and SINAD of the distorted sine wave.
4. Tone Extraction - Finds the highest amplitude tone besides the fundamental tone (3rd harmonic in this case) and returns its frequency, amplitude, and phase.

Requirements


Filename: 202376.zip

Software Requirements


Language(s): Other

 
1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).