Averaged DC-RMS for 1 Chan VI
- Updated2025-07-30
- 5 minute(s) read
Calculates the DC and RMS values of an input waveform or array of waveforms. This VI is similar to the Basic Averaged DC-RMS VI, but this VI gives more precise control over the individual DC and RMS calculations.
Wire data to the signal in input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
reset
—
reset resets the history of your time signal. You typically use reset to reset the exponentially averaged measurement.
signal in
—
signal in is the input waveform.
averaging type
—
averaging type is the type of averaging used during the measurement. If averaging type is exponential, this VI calculates the DC and RMS values using an exponentially weighted averaging measurement starting from the previous DC and RMS values.
averaging time
—
averaging time defines dt of DC value waveform and RMS value waveform in seconds. The default is –1.00, which corresponds to average time = input block duration. For linear averaging, each output data point results from performing the averaging process for the time period specified by averaging time. For exponential averaging, each output data point results from exponential integration performed for the time period specified by averaging time using exp. time constant.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
averaging control
—
averaging control contains the advanced parameters used to completely control the DC or RMS measurement.
data ready
—
data ready indicates the DC value waveform and RMS value waveform contain data. A value of FALSE means the waveforms do not contain data.
DC value waveform
—
DC value waveform indicates DC values of signal in computed over averaging time seconds and time stamped continuously from the last reset.
RMS value waveform
—
RMS value waveform indicates RMS values of signal in computed over averaging time seconds and time stamped continuously from the last reset.
error out
—
error out contains error information. This output provides standard error out functionality.
measurement info
—
measurement info returns information about your measurement, mainly warnings for inconsistencies in your input signal.
|
This VI is designed to process a single channel or multiple channels continuously, typically from within a For Loop or a While Loop.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Waveform Measurements\Advanced DC-RMS Measurement.vi
reset
—
signal in
—
averaging type
—
averaging time
—
error in (no error)
—
averaging control
—
data ready
—
DC value waveform
—
error out
—
measurement info
—
uncertainty
—
comments
—