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

SVT THD and Harmonic Components (Sound and Vibration Measurement Suite)

Sound and Vibration Measurement Suite 6.0 Help
December 2007

NI Part Number:
372416A-01

»View Product Info

Performs a harmonic analysis, including measuring the fundamental tone and harmonics, and returns the detected fundamental frequency, detected fundamental amplitude, requested harmonic components, and total harmonic distortion (THD). You can use this polymorphic VI to perform harmonic analysis on a scaled signal or a complex spectrum. The data type you wire to the scaled signal [EU] input determines the polymorphic instance to use.

Use the pull-down menu to select an instance of this VI.

SVT THD and Harmonic Components (Time) (1 Ch)

desired units specifies the engineering units of the returned measurements.
THD units specifies the units for THD.

0dB (default)
1Linear ratio
2%
harmonic component amplitude units specifies the units for amplitude in harmonic components.

0EU rms (default)
1EU peak
2EU peak-peak
3dB ref fund
detected fundamental amplitude units specifies the units for the amplitude of the detected fundamental tone.

0EU rms (default)
1EU peak
2EU peak-peak
scaled signal [EU] specifies the scaled signal expressed in the selected engineering units. To obtain a properly scaled signal, you can use the SVL Scale Voltage to EU VI or define a virtual channel in National Instruments Measurement & Automation Explorer (MAX).
maximum harmonic specifies the maximum, or highest frequency, harmonic used to measure THD. Specify a value of -1 to select all the harmonics less than the Nyquist frequency.
harmonics to visualize specifies the individual harmonic components to return in harmonic components. This input does not affect the harmonics used to measure THD. Specify an array with the only element as -1 to visualize all harmonics up to the actual maximum harmonic.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Refer to Controlling Error Notification to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
expected fundamental frequency specifies the expected frequency of the fundamental tone in hertz. Use expected fundamental frequency when the fundamental tone is not the largest amplitude component of the input signal.
actual maximum harmonic returns the value for the actual maximum, or highest frequency, harmonic used to measure THD.
unit labels returns the unit label for each member of desired units.
THD unit label returns the unit label for THD.
harmonic component amplitudes unit label returns the unit label for amplitude in harmonic components.
detected fundamental amplitude unit label returns the unit label for the amplitude of the detected fundamental tone.
complex spectrum returns the complex form of the computed spectrum.
complex spectrum returns the complex form of the spectrum.
f0 returns the start frequency, in hertz, of the spectrum.
df returns the frequency resolution, in hertz, of the spectrum.
complex spectrum returns the complex form of the computed spectrum.
spectrum info returns information about the spectrum needed by the Spectrum Extended Measurements VIs, the Waterfall Display VIs, the Distortion VIs, and the Single Tone Measurements VIs. Do not modify the spectrum info values.
THD returns the measured total harmonic distortion (THD), which is defined as the ratio of the RMS energy of the harmonics to the RMS energy of the fundamental tone.
harmonic components returns the measured frequencies and amplitudes of the harmonics of the fundamental tone.
frequency [Hz] returns the measured frequency, in hertz, of an individual harmonic component specified in harmonics to visualize.
amplitude returns the measured amplitude of an individual harmonic component specified in harmonics to visualize.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
detected fundamental amplitude returns the amplitude of the detected fundamental tone.
detected fundamental frequency [Hz] returns the frequency of the detected fundamental tone in hertz.

SVT THD and Harmonic Components (Frequency) (1 Ch)

desired units specifies the engineering units of the returned measurements.
THD units specifies the units for THD.

0dB (default)
1Linear ratio
2%
harmonic component amplitude units specifies the units for amplitude in harmonic components.

0EU rms (default)
1EU peak
2EU peak-peak
3dB ref fund
detected fundamental amplitude units specifies the units for the amplitude of the detected fundamental tone.

0EU rms (default)
1EU peak
2EU peak-peak
complex spectrum is the complex form of the computed spectrum.
complex spectrum response is the complex form of the spectrum for the response channel.
f0 specifies the start frequency, in hertz, of the spectrum.
df specifies the frequency resolution, in hertz, of the spectrum.
complex spectrum is the complex form of the computed spectrum.
spectrum info contains information about the spectrum needed by the Spectrum Extended Measurements VIs, the Waterfall Display VIs, the Distortion VIs, and the Single Tone Measurements VIs. Do not modify the spectrum info values.
maximum harmonic specifies the maximum, or highest frequency, harmonic used to measure THD. Specify a value of -1 to select all the harmonics less than the Nyquist frequency.
harmonics to visualize specifies the individual harmonic components to return in harmonic components. This input does not affect the harmonics used to measure THD. Specify an array with the only element as -1 to visualize all harmonics up to the actual maximum harmonic.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Refer to Controlling Error Notification to treat what is normally an error as no error or to treat a warning as an error. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
expected fundamental frequency specifies the expected frequency of the fundamental tone in hertz. Use expected fundamental frequency when the fundamental tone is not the largest amplitude component of the input signal.
actual maximum harmonic returns the value for the actual maximum, or highest frequency, harmonic used to measure THD.
unit labels returns the unit label for each member of desired units.
THD unit label returns the unit label for THD.
harmonic component amplitudes unit label returns the unit label for amplitude in harmonic components.
detected fundamental amplitude unit label returns the unit label for the amplitude of the detected fundamental tone.
dup complex spectrum returns complex spectrum unchanged.
complex spectrum returns the complex form of the spectrum.
f0 returns the start frequency, in hertz, of the spectrum.
df returns the frequency resolution, in hertz, of the spectrum.
complex spectrum returns the complex form of the computed spectrum.
spectrum info returns information about the spectrum needed by the Spectrum Extended Measurements VIs, the Waterfall Display VIs, the Distortion VIs, and the Single Tone Measurements VIs. Do not modify the spectrum info values.
THD returns the measured total harmonic distortion (THD), which is defined as the ratio of the RMS energy of the harmonics to the RMS energy of the fundamental tone.
harmonic components returns the measured frequencies and amplitudes of the harmonics of the fundamental tone.
frequency [Hz] returns the measured frequency, in hertz, of an individual harmonic component specified in harmonics to visualize.
amplitude returns the measured amplitude of an individual harmonic component specified in harmonics to visualize.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.
detected fundamental amplitude returns the amplitude of the detected fundamental tone.
detected fundamental frequency [Hz] returns the frequency of the detected fundamental tone in hertz.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit