Computes the moment about the mean using the specified order, m, for the set of input data points specified by sample length.

This VI is similar to the Moment about Mean VI.

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


icon

Inputs/Outputs

  • cbool.png initialize

    initialize, when TRUE, initializes the internal state of the VI.

  • cdbl.png x

    x is an input data point.

  • ci32.png order

    order must be greater than 0. If order is less than or equal to 0, the VI sets moment to 0 and returns an error. The default is 2.

  • ci32.png sample length

    sample length is the length of each set of incoming data. The VI performs computation for each set of data. The default is 100.

    When you set sample length to zero, the VI calculates a cumulative solution for the input data from the time that you called or initialized the VI. When the sample length setting is greater than zero, the VI calculates the solution for only the newest set of input data.

  • idbl.png moment

    moment is the moment about the mean computed from the set of input data points specified by sample length.

  • ii32.png error

    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.

  • FPGA Module Details

    The following details apply when you use this object in an FPGA VI.

    Note The following details are subject to change with each version of the LabVIEW FPGA Module.
    Single-Cycle Timed Loop Supported.
    Usage The default data type for these constants is single-precision floating-point (SGL).
    Timing These constants require no clock cycles to execute because they do not include internal registers.
    Resources These constants alone consume no FPGA resources. However, if you wire a constant to a logical operation, FPGA lookup table resources store the constant value.