RMS
The RMS I/O determines the True Root Mean Square value of a signal. For alternating electric current, RMS is equal to the value of the direct current that would produce the same average power dissipation in a resistive load.

Depending on the selected mode, the RMS I/O returns one RMS value per period in the measured signal or one single value, which is the RMS value of the input signal.

A typical application of the RMS I/O is logging RMS values to monitor e.g. mains voltage.

Properties

To control the behavior of the RMS I/O, several properties are available. These can be accessed through a popup menu which is shown when the I/O is right clicked in the Object Tree. The properties can also be accessed through its settings window which is shown when the I/O is double clicked in the Object Tree. To open the Object tree, click the Show object tree Show object tree button.

RMS control

By default, the settings window only shows the most used settings. When Advanced is ticked, the extended window with all settings is shown. See also the program settings.

Mode

The Mode property determines how the RMS value is determined. Four modes can be selected from:

  • Single value for all data
    The RMS I/O returns one single value, which is the RMS value of the total captured signal.
    When analyzing streaming data, all data since starting the stream is being analyzed, resulting in one value for the total stream.
  • Single value for trimmed data
    The RMS I/O determines the RMS value over all complete periods found in the input signal and returns one single value for that whole section.
    When analyzing streaming data, all data since starting the stream is being analyzed, resulting in one value for the total stream.
    Incomplete periods at the start and the end of the record are trimmed away.
  • Value per period
    The RMS I/O locates each period in the signal and determines the RMS value for each complete period in the signal. The RMS I/O returns an RMS value for each period that is found.
    Incomplete periods at the start and the end of the record are ignored. In streaming mode these are matched with the corresponding incomplete period of the next chunk and included in the result.
  • Value per chunk
    The RMS I/O returns one single value for the last received chunk of data.
    When analyzing streaming data, each chunk produces one value, which can be collected in a Data Collector.
Note: When operating in streaming mode and collecting the results in a Data collector I/O, only modes Value per period and Value per chunk can be used.

Level

In order to find the periods in the measured signal, the RMS I/O locates the rising slopes in the signal, around the mid level of the signal. This mid level can be set manually using Level.

Setting the level is only required when the Mode is set to Single value for trimmed data or Value per period.

Hysteresis

To determine whether a slope is rising or falling, a hysteresis is used. This hysteresis determines how much the signal, with respect to the Level, must become larger in order to detect an edge. With a larger hysteresis, the detection is less sensitive for e.g. noise on the signal. If the hysteresis is too large, edges might be missed. This hysteresis can be set manually using Hysteresis.

Setting the hysteresis is only required when the Mode is set to Single value for trimmed data or Value per period.

Auto detect level / hysteresis

When Auto detect level / hysteresis is enabled, the I/O tries to determine the the mid level and a suitable hysteresis automatically.

Setting the Auto detect level / hysteresis is only required when the Mode is set to Single value for trimmed data or Value per period.

Common properties and actions

Related information

Duty cycle

The Duty cycle I/O determines the duty cycle of a signal.

Maximum

The Maximum I/O determines the maximum value of a signal.

Maximum - Minimum

The Maximum - Minimum I/O determines the maximum-minimum or peak to peak value of a signal.

Minimum

The Minimum I/O determines the minimum value of a signal.

Phase difference

The Phase difference I/O determines the phase difference between its two input signals.

FFT

The FFT I/O is used for spectral analysis of a signal using a Fast Fourier Transformation

EMI

The EMI I/O creates an environment that can be used for EMI pre-compliance testing.