Cross Power Spectrum PtByPt VI

Owning Palette: Spectral Analysis PtByPt VIs

Requires: Full Development System

Computes the single-sided, scaled, cross power spectrum of two real-time signals.

This VI is similar to the Cross Power Spectrum VI.

Note  By default, reentrant execution is enabled in all Point By Point VIs.

Details  

 Add to the block diagram  Find on the palette
initialize, when TRUE, initializes the internal state of the VI.
signal x is the input, time-domain signal x, usually in volts.
signal y is the input, time-domain signal y, 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.
Cross Power XY Spectrum Mag is the single-sided cross power spectrum between signals X and Y. If the input signals are in volts (V), Cross Power XY Spectrum Mag has units of volts-rms squared (Vrms2). If the input signals are not in volts, Cross Power XY Spectrum Mag has units of the input signal unit-rms squared.
Cross Power XY Spectrum Phase is the phase spectrum in radians showing the difference between the phases of signal Y and signal X.
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.

Cross Power Spectrum PtByPt Details

The cross power spectrum gives the product of the amplitude of the signals x and y and the difference between their phases, phase of signal y minus phase of signal x.