Standard Deviation PtByPt VI
- Updated2025-07-30
- 2 minute(s) read
Computes the mean and the standard deviation of the values in the set of input data points specified by sample length.

Inputs/Outputs
initialize
—
initialize, when TRUE, initializes the internal state of the VI.
x
—
x is an input data point.
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.
standard deviation
—
standard deviation is the standard deviation calculated from the set of input data points specified by sample length.
mean
—
mean is the mean of the values in the set of input data points specified by sample length.
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. |
initialize
—
x
—
sample length
—
standard deviation
—
error
—