Frequency Response Function (Mag-Phase)

Computes the frequency response and the coherence based on the input signals. Details

restart averaging specifies if the selected averaging process has to be restarted. The default is FALSE. When you call this VI for the first time the averaging process restarts automatically.
time signal X is the time waveform X.
time signal Y is the time waveform Y.
window is the time-domain window to use.

0Uniform
1Hanning (default)
2Hamming
3Blackman-Harris
4Exact Blackman
5Blackman
6Flat Top
7Four Term Blackman-Harris
8Seven Term Blackman-Harris
9Low Sidelobe
view is a cluster that defines how the different results from this VI are returned. Parameters include the ability to use decibels, to unwrap the phase, and to convert the phase to degrees.
dB On specifies if results are expressed in decibels. The default is FALSE.
unwrap phase specifies if the phase has to be unwrapped (TRUE) or not (FALSE, default). Unwrapping eliminates discontinuities with an absolute value greater than pi.
convert to degree specifies if the phase results have to be converted from radians to degrees. Default is FALSE, which means that results are expressed in radians.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
averaging parameters is a cluster that defines how the averaging is computed.
averaging mode specifies the averaging mode.

0No averaging (default)
1Vector averaging
2RMS averaging
weighting mode specifies the weighting mode for RMS and Vector averaging.

0Linear
1Exponential (default)
number of averages specifies the number of averages that is used for RMS and Vector averaging. If weighting mode is Exponential, the averaging process is continuous. If weighting mode is Linear, the averaging process stops once the selected number of averages have been computed.
FRF mode specifies how to compute the frequency response function (FRF).

0H1 (default)
1H2
2H3
averaging done returns TRUE when the number of averages completed equals or exceeds the number of averages specified in averaging parameters. Otherwise, averaging done returns FALSE. averaging done is always TRUE if the selected averaging mode is No averaging.
magnitude returns the magnitude of the averaged frequency response and the frequency scale.
f0 is the start frequency of the spectrum expressed in Hertz.
df is the frequency resolution of the spectrum expressed in Hertz.
magnitude is the magnitude of the averaged frequency response.
phase returns the phase of the averaged frequency response and the frequency scale.
f0 is the start frequency of the spectrum expressed in Hertz.
df is the frequency resolution of the spectrum expressed in Hertz.
phase is the phase of the averaged frequency response.
coherence returns the coherence and the frequency scale.
f0 is the start frequency of the spectrum expressed in Hertz.
df is the frequency resolution of the spectrum expressed in Hertz.
coherence is the coherence.
averages completed is the number of averages completed so far.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.

Frequency Response Function (Mag-Phase) Details

Typically, time signal X is the stimulus, and time signal Y is the response of the system. Results are returned as magnitude and phase. Each time waveform corresponds to a single FFT block and has to be passed individually to this VI. averaging parameters specifies how the averaging is performed. This includes the averaging mode (no averaging, vector averaging, or RMS averaging), the weighting mode (linear or exponential), and the number of averages. averages completed returns the number of averages completed so far. view allows you to display magnitude in decibels or not, and phase unwrapped or not, in radians or degrees.