Computes the single-sided, scaled, cross power spectrum of two real-time signals. Details
![]() |
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 zero. |
![]() |
dt is the sample period of the time-domain signal, usually in seconds.
dt is also
where |
![]() |
Cross Power XY Spectrum Mag is the single-sided cross power spectrum between signals X and Y in volts rms squared when the input signals are in volts. If the input signals are not in volts, the results are in input signal units 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 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. |
The cross power spectrum gives the product of the amplitude of the set of signals x and y and the difference between their phases, phase of signal y minus phase of signal x.