LabVIEW Sound and Vibration API Reference

SVT Weighting Filter (frequency) VI

  • Updated2024-06-18
  • 8 minute(s) read

SVT Weighting Filter (frequency) VI

Owning Palette: Spectrum Extended Measurements VIs

Requires: Sound and Vibration Toolkit

Applies the selected weighting to the spectrum or spectra in the frequency domain. This VI operates on Power, PSD, COP, FFT [Mag], FFT [Re], and FFT [Imag] spectra. Wire data to the spectrum input to determine the polymorphic instance to use or manually select the instance.

Example

SVT Weighting Filter (Spectrum) (1 Ch)

spectrum specifies the frequency-domain data to which this VI applies weighting.
f0 specifies the start frequency, in hertz, of the spectrum.
df specifies the frequency resolution, in hertz, of the spectrum.
magnitude specifies the magnitude of the spectrum.
weighting specifies the type of weighting to apply to the spectrum. The weighting is applied to the spectrum in the frequency domain. Use Linear if no weighting is needed.

0Linear
1A-weighting
2B-weighting B-weighting
3C-weighting
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can right-click the spectrum info in wire and select Custom Probe»Spectrum Info from the shortcut menu.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
weighted spectrum returns the weighted spectrum.
f0 returns the start frequency, in hertz, of the spectrum.
df returns the frequency resolution, in hertz, of the spectrum.
magnitude returns the magnitude of the weighted spectrum.
unit label returns the selected engineering units.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can right-click the spectrum info out wire and select Custom Probe»Spectrum Info from the shortcut menu.
error out contains error information. This output provides standard error out functionality.

SVT Weighting Filter (Spectrum) (N Ch)

spectra specifies the frequency-domain data for each spectrum.
f0 specifies the start frequency, in hertz, of the spectrum.
df specifies the frequency resolution, in hertz, of the spectrum.
magnitude specifies the magnitude of the spectrum.
weighting specifies the type of weighting to apply to the spectrum. The weighting is applied to the spectrum in the frequency domain. Use Linear if no weighting is needed.

0Linear
1A-weighting
2B-weighting B-weighting
3C-weighting
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can create a custom probe.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
weighted spectra returns the spectra after the application of a weighting filter.
f0 returns the start frequency, in hertz, of the spectrum.
df returns the frequency resolution, in hertz, of the spectrum.
magnitude returns the magnitude of the weighted spectrum.
unit labels returns the selected engineering units for each channel.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can create a custom probe.
error out contains error information. This output provides standard error out functionality.

SVT Weighting Filter (Peaks) (1 Ch)

peaks specifies the frequency and value for each peak.
frequency [Hz] specifies the frequency of the peak.
value specifies the peak value of the peak.
weighting specifies the type of weighting to apply to the spectrum. The weighting is applied to the spectrum in the frequency domain. Use Linear if no weighting is needed.

0Linear
1A-weighting
2B-weighting B-weighting
3C-weighting
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can right-click the spectrum info in wire and select Custom Probe»Spectrum Info from the shortcut menu.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
weighted peaks returns the frequency and value for each peak.
frequency [Hz] returns the frequency of the peak.
value returns the peak value of the peak.
unit label returns the selected engineering units.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can right-click the spectrum info out wire and select Custom Probe»Spectrum Info from the shortcut menu.
error out contains error information. This output provides standard error out functionality.

SVT Weighting Filter (Peaks) (N Ch)

peaks specifies the frequency and value for each peak.
frequency [Hz] specifies the frequency of the peak.
value specifies the peak value of the peak.
weighting specifies the type of weighting to apply to the spectrum. The weighting is applied to the spectrum in the frequency domain. Use Linear if no weighting is needed.

0Linear
1A-weighting
2B-weighting B-weighting
3C-weighting
spectrum info in specifies the properties of the previously computed spectrum.
Note  You must wire spectrum info in when performing extended measurements. Do not modify the spectrum info in values. If you want to view the information, you can create a custom probe.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
weighted peaks returns the frequency and value for each peak.
frequency [Hz] returns the frequency of the peak.
value returns the peak value of the peak.
unit labels returns the engineering units for the weighted peaks.
spectrum info out returns the properties of the computed spectrum.
Note  You must wire spectrum info out when performing extended measurements. Do not modify the spectrum info out values. If you want to view the information, you can create a custom probe.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Weighting and Peak Search (Simulated) VI in the labview\examples\Sound and Vibration\Frequency Analysis\Extended Measurements directory for an example of using the SVT Weighting Filter (frequency) VI.

Log in to get a better experience