RMS (DBL) VI
- Updated2025-07-30
- 2 minute(s) read
Computes the root mean square (rms) of the input sequence X.

Inputs/Outputs
X
—
X is the real input sequence. If X is empty, rms value is NaN.
rms value
—
rms value is the root mean square computed from the input sequence X.
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. |
The VI calculates rms value using the following equation:
where ψx is rms value and n is the number of elements in X.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Probability and Statistics\Statistics Solver.vi
X
—
rms value
—
error
—