class="resources" Amplitude and Phase Spectrum (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Amplitude and Phase Spectrum (Not in Base Package)

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

Signal is the input, time-domain signal, usually in volts. At least three cycles of the signal must be contained in the time-domain record for a valid estimate.
unwrap phase, when set to TRUE, enables phase unwrapping on the output phase Amp Spectrum Phase. The default is TRUE. If you set unwrap phase to FALSE, the VI does not unwrap the output phase.
dt is the sample period of the time-domain signal, usually in seconds. dt is also where fs is the sampling frequency of the time-domain signal.
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 frequency interval of the power spectrum in hertz, if dt is in seconds.

Amplitude and Phase Spectrum Details

The Amplitude and Phase Spectrum VI computes the amplitude spectrum using the following equation.

,

where N is the number of points in Signal.

The VI computes Amp Spectrum Mag using the following equation.

Amp Spectrum Mag = |amplitude spectrum|

The VI computes Amp Spectrum Phase using the following equation.

Amp Spectrum Phase = phase(amplitude spectrum)

Example

Refer to the Realtime Amplitude Spectrum VI in the labview\examples\ptbypt\PtByPt_No_HW.llb directory for an example of using the Amplitude and Phase Spectrum VI.

 


Resources


 

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