Last Modified: June 25, 2019

Calculates continuous AC, DC, and RMS values of a signal. This node gives more precise control over the individual AC, DC, and RMS calculations than the AC DC and RMS (Basic Continuous) node.

A Boolean that specifies the initialization of the internal state of the node.

True | Initializes the internal state to zero. |

False | Initializes the internal state to the final state from the previous call of this node. |

This node automatically initializes the internal state to zero on the first call and runs continuously until this input is True.

**Default: **False

Type of averaging to apply to the signal.

Name | Description |
---|---|

Linear | Applies linear averaging to the signal. |

Exponential | Applies exponential averaging to the signal. |

**Default: **Linear

The dt of the DC or RMS values of the input signal in seconds.

For linear averaging, each output data point results from performing the averaging process for the time period specified by this input. For exponential averaging, each output data point results from exponential integration performed for the time period specified by this input using the specific time constant (RC) of the DC or RMS measurement.

**Default: **-1 — This node assumes that **averaging time** equals the input block duration.

The advanced parameters this node uses to completely control the DC and RMS measurement.

The window to apply to the time record before this node computes the AC measurement.

This node ignores this input if the averaging type is Exponential.

Name | Description |
---|---|

Rectangular (none) | Does not apply a window. |

Hanning | Applies a Hanning window. |

Low side lobe | Applies a low side lobe window. |

**Default: **Rectangular (none)

The window to apply to the time record before this node computes the DC measurement.

This node ignores this input if the averaging type is Exponential.

Name | Description |
---|---|

Rectangular (none) | Does not apply a window. |

Hanning | Applies a Hanning window. |

Low side lobe | Applies a low side lobe window. |

**Default: **Rectangular (none)

The window to apply to the time record before this node computes the RMS measurement.

This node ignores this input if the averaging type is Exponential.

Name | Description |
---|---|

Rectangular (none) | Does not apply a window. |

Hanning | Applies a Hanning window. |

Low side lobe | Applies a low side lobe window. |

**Default: **Rectangular (none)

The time constant (RC) of the DC or RMS measurement.

**Default: **0

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an **error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Default: **No error

DC value of the signal.

This output can return a waveform or a 1D array of waveforms.

Root mean square value of the signal.

This output can return a waveform or a 1D array of waveforms.

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

**error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Where This Node Can Run: **

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application