Owning Palette: Spectrum Extended Measurements VIs
Installed With: Sound and Vibration Measurement Suite
Performs a peak search on a spectrum or spectra. The spectrum or spectra can be in either the frequency domain or the order domain. Detects single or multiple peaks in Power, PSD, and COP spectra. The data type you wire to the spectrum input determines the polymorphic instance to use.
The time-domain window previously applied to the signal is used to accurately estimate the frequency and amplitude of the peak.
Use the pull-down menu to select an instance of this VI.
c.gif)
![]() |
spectrum specifies the abscissa scaling and the magnitude of the spectrum.
| ||||||||
![]() |
peak search settings specifies the criteria for the peak search.
| ||||||||
![]() |
spectrum info specifies properties of the computed spectrum.
The properties contained in spectrum info include channel name, spectrum type, spectrum scale as linear or dB, applied window, window size, FFT size, units, x-axis units, dB reference, applied weighting, peak units, and spectral density.
|
||||||||
![]() |
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. Use exception control 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.
| ||||||||
![]() |
peaks returns the frequency or order and value for each peak that meets the search criteria.
| ||||||||
![]() |
number of peaks indicates the number of peaks that satisfied the search criteria. | ||||||||
![]() |
unit label returns the selected engineering units. | ||||||||
![]() |
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.
|
c.gif)
![]() |
spectra specifies the data for each spectrum.
| ||||||||
![]() |
peak search settings specifies the criteria for the peak search.
| ||||||||
![]() |
spectrum info specifies properties of the computed spectrum. The properties contained in spectrum info include channel name, spectrum type, spectrum scale as linear or dB, applied window, window size, FFT size, units, x-axis units, dB reference, applied weighting, peak units, and spectral density.
|
||||||||
![]() |
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. Use exception control 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.
| ||||||||
![]() |
peaks returns the peaks for each spectrum.
| ||||||||
![]() |
number of peaks indicates the number of peaks that satisfied the search criteria for each spectrum. | ||||||||
![]() |
unit labels returns the unit label for each channel. | ||||||||
![]() |
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.
|
The SVFA Spectrum Peak Search VI finds all the peaks within the spectrum and performs amplitude/frequency or amplitude/order estimation on each individual peak. The VI operates on magnitude and power spectra.
Usually, the spectrum is computed based on a windowed input signal. The closed form of any cosine window, such as Hanning, Hamming, Blackman-Harris, and so on, is known. The presence of three dominant bins indicates a local maximum on the power spectrum. Therefore, when the SVFA Spectrum Peak Search VI locates three dominant bins, a curve fitting algorithm maps the window shape onto the three bins and estimates the true frequency and amplitude of that particular tone. The following illustration diagrams the concept of the algorithm.
