Spectrum Unit Conversion VI

Owning Palette: Spectral Analysis VIs

Requires: Full Development System

Converts either the power, amplitude, or gain (amplitude ratio) spectrum to alternate formats including Log (decibel and dbm) and spectral density.

 Add to the block diagram  Find on the palette
signal unit is a string containing the unit of the input time domain signal. The default setting is in volts. If the original signal unit was in volts, then this input should contain the letter V for volts.
Spectrum in, on input, contains the spectrum of a time domain signal. It can be of type specified by the spectrum type selector.
spectrum type specifies the type of spectrum wired to Spectrum. The default is 0.

0Power (Vrms2)
1Amplitude (Vrms)
2Gain (amplitude ratio)
log/linear specifies linear or log spectrum output. The default is 1.

0Linear
1DB
2DBm
display unit is the output unit for the spectrum. You can set display unit to one of the values listed in the following table. The last four selections are amplitude spectral density (4,5) and power spectral density (6,7). The control cluster window constants contains constants for the selected window (from the Scaled Time Domain Window VI). You need this input only when you use the spectral density output formats (the last four output unit selections).

0Vrms (volts rms)
1Vpk (volts peak)
2Vrms2 volts (squared rms)
3Vpk2 volts (squared peak)
4Vrms/sqrt(Hz) volts (rms per root Hz)
5Vpk/sqrt(Hz) volts (peak per root Hz)
6Vrms2/Hz volts (squared rms per Hz)
7Vpk2/Hz volts (squared peak per Hz)
df is the line frequency interval of the input spectrum. The default is 1.0. You need this input only when you use the spectral density output formats (the last four display unit selections).
window constants contains the window constants for the selected window. You obtain window constants from the Scaled Time Domain Window VI. You need this input only when you use the spectral density output formats, the last four display unit selections. The default values are set to those of the rectangular window (no window).
eq noise BW is the equivalent noise bandwidth (ENBW) of the window that was used. The default is 1.0. You can use this value to divide a sum of individual power spectra of the power spectrum or to compute the power in a given frequency span.
coherent gain is the inverse of the scaling factor applied to the window. The default is 1.0.
Spectrum out, on output, contains the spectrum in the form specified by log/linear and display units.
spectrum unit is a string containing the unit of the output spectrum. If the output spectrum is in decibels form, the unit is prepended by dB.