Amplitude and Phase Spectrum PtByPt (Not in Base Package)

Computes the single-sided, scaled amplitude-spectrum magnitude and phase of a real time-domain signal.

initialize, when TRUE, initializes the internal state of the VI.
signal is 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 zero.
dt is the sample period of the time-domain signal, usually in seconds. dt is also

,

where is the sampling frequency of the time-domain signal.

unwrap phase, when set to TRUE, enables phase unwrapping on the output phase Amp Spectrum Phase (radians). The default is TRUE. If you set unwrap phase to FALSE, the VI does not unwrap the output phase.
Amp Spectrum Mag is the single-sided amplitude spectrum magnitude in volts rms if the input signal is in volts. If the input signal is not in volts, the results are in input signal units rms.
Amp Spectrum Phase is the single-sided amplitude spectrum phase in radians.
df is the line frequency interval of the power spectrum in Hertz, if dt is in seconds.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.