Owning Palette: Spectral Analysis PtByPt VIs
Requires: Full Development System
Computes the single-sided, scaled amplitude spectrum of a real-valued time-domain signal and returns the amplitude spectrum as magnitude and phase.
This VI is similar to the Amplitude and Phase Spectrum VI.
Note By default, reentrant execution is enabled in all Point By Point VIs. |
Add to the block diagram | Find on the palette |
initialize, when TRUE, initializes the internal state of the VI. | |
signal specifies the input time-domain signal, usually in volts. | |
sample length is the length of each set of incoming data. The VI performs computation on each set of data. The default is 100. sample length must be greater than 0. | |
dt is the sample period of the time-domain signal, usually in seconds. Set dt to 1/fs, where fs is the sampling frequency of the time-domain signal. The default is 1. | |
unwrap phase, when TRUE, enables phase unwrapping on the output Amp Spectrum Phase. The default is TRUE. If unwrap phase is FALSE, this VI does not unwrap the output phase. | |
Amp Spectrum Mag returns the magnitude of the single-sided power spectrum. If the input signal is in volts (V), Amp Spectrum Mag has units of volts-rms (Vrms). If the input signal is not in volts, Amp Spectrum Mag has units of the input signal unit-rms. | |
Amp Spectrum Phase is the single-sided amplitude spectrum phase in radians. | |
df is the frequency interval of the power spectrum in hertz, if dt is in seconds. | |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |