Continuously averages the estimated power spectral density (PSD) of a univariate time series with different averaging methods.


icon

Inputs/Outputs

  • cbool.png reset? (F)

    reset? specifies to restart the selected averaging process. The default is FALSE. When you run this VI for the first time, the averaging process restarts automatically.

  • ccclst.png PSD

    PSD specifies information about the power spectral density.

  • cdbl.png f0

    f0 specifies the lower boundary of the frequency range.

  • cdbl.png df

    df specifies the frequency increment.

  • c1ddbl.png S(f)

    S(f) specifies the magnitude of the power spectral density.

  • cnclst.png averaging parameters

    averaging parameters specifies options this VI uses to average the input power spectral density.

  • cu16.png averaging mode

    averaging mode specifies the averaging mode.

  • cu16.png weighting mode

    weighting mode specifies the weighting mode for averaging. This option is available only when averaging mode is RMS averaging.

  • cu32.png number of averages

    number of averages specifies the number of averages to use for averaging. The default is 10.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • cbool.png dB on? (T)

    dB on? specifies to express PSD in decibels. The default is TRUE.

  • icclst.png PSD averaged

    PSD averaged returns information about the averaged power spectral density.

  • idbl.png f0

    f0 returns the lower boundary of the frequency range.

  • idbl.png df

    df returns the frequency increment.

  • i1ddbl.png S(f)

    S(f) returns the magnitude of the power spectral density.

  • ibool.png averaging done

    averaging done returns TRUE when the number of completed averages equals or exceeds number of averages.

    Otherwise, averaging done returns FALSE. averaging done is always TRUE if the selected averaging mode is No averaging.

  • iu32.png completed averages

    completed averages returns the number of averages that this VI has completed so far.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the Average PSD VI in the labview\examples\Time Series Analysis\TSAGettingStarted directory for an example of using the TSA Average PSD VI.