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

SVT Octave Spectrum Conversion VI

Owning Palette: Octave Extended Measurements VIs

Installed With: Sound and Vibration Measurement Suite

Converts an octave spectrum between dB/linear, magnitude/magnitude^2, spectrum/spectral density, and dB ref1/dB ref2.

You can use this VI to convert one octave spectrum or N octave spectra. The data type you wire to the octave spectrum input determines the polymorphic instance to use.

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

SVT Octave Spectrum Conversion (1 Channel)

octave spectrum specifies the octave spectrum to perform the operation on, in band power versus nominal frequencies.
nominal frequencies [Hz] specifies the nominal, or preferred, frequencies as opposed to the exact frequencies associated with each 1/n octave band.
band power specifies the band power in decibels associated with each 1/n octave band.
desired scaling specifies the scaling this VI applies to the octave spectrum/spectra.
linear/dB specifies whether this VI expresses results in engineering units or decibels.
0no change (default)
1linear—Specifies that this VI expresses results in engineering units.
2dB—Specifies that this VI expresses results in decibels.
dB reference specifies the dB reference in the desired scaling of the converted spectrum. The default is 0.00, or no change.
power/magnitude specifies whether this VI expresses results in units of magnitude or power (magnitude^2).
0no change (default)
1power
2magnitude
spectral density specifies whether this VI expresses results as spectral density. In this situation, this VI normalizes the power in each band by the bandwidth.

0no change (default)
1spectrum
2spectral density
octave info in specifies the properties of the previously computed octave spectrum.
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.
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.
converted octave spectrum returns the converted octave spectrum.
nominal frequencies [Hz] returns the nominal, or preferred, frequencies as opposed to the exact frequencies associated with each 1/n octave band.
band power returns the band power in decibels associated with each 1/n octave band.
unit label returns the engineering units for the converted octave spectrum.
octave info out returns the properties of the converted octave spectrum.
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.

SVT Octave Spectrum Conversion (N Channels)

octave spectra specifies the octave spectra to perform the operation on, in band power versus nominal frequencies.
nominal frequencies [Hz] specifies the nominal, or preferred, frequencies as opposed to the exact frequencies associated with each 1/n octave band.
band power specifies the band power in decibels associated with each 1/n octave band.
desired scaling specifies the scaling this VI applies to the octave spectrum/spectra.
linear/dB specifies whether this VI expresses results in engineering units or decibels.

0no change (default)
1linear—Specifies that this VI expresses results in engineering units.
2dB—Specifies that this VI expresses results in decibels.
dB reference specifies the dB reference in the desired scaling of the converted spectrum. The default is 0.00, or no change.
power/magnitude specifies whether this VI expresses results in units of magnitude or power (magnitude^2).

0no change (default)
1power
2magnitude
spectral density specifies whether this VI expresses results as spectral density. In this situation, this VI normalizes the power in each band by the bandwidth.

0no change (default)
1spectrum
2spectral density
octave info in specifies the properties of the previously computed octave spectra.
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.
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.
converted octave spectra returns the converted octave spectra.
nominal frequencies [Hz] returns the nominal, or preferred, frequencies as opposed to the exact frequencies associated with each 1/n octave band.
band power returns the band power in decibels associated with each 1/n octave band.
unit labels returns the engineering units for the converted octave spectra.
octave info out returns the properties of the converted octave spectra.
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.

Resources


 

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