Table Of Contents

Amplitude Measurements (AC DC and RMS » Continuous) (G Dataflow)

Version:
    Last Modified: March 30, 2017

    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.

    connector_pane_image
    datatype_icon

    reset

    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

    datatype_icon

    signal

    The input signal.

    This input can be a waveform or an array of waveforms.

    datatype_icon

    averaging type

    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

    datatype_icon

    averaging time

    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.

    datatype_icon

    averaging control

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

    datatype_icon

    window for AC

    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)

    datatype_icon

    window for DC

    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)

    datatype_icon

    window for RMS

    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)

    datatype_icon

    exponential time constant

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

    Default: 0

    datatype_icon

    ignore input start time

    A Boolean specifying whether or not to check for continuity using t0 values.

    True Does not check for continuity using t0 values.
    False Checks for continuity using t0 values.

    Default: False

    datatype_icon

    error in

    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.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    data ready

    A Boolean that indicates whether the output AC, DC, and RMS waveforms contain data.

    True The output waveform contain data.
    False The output waveforms do not contain data.
    datatype_icon

    AC value

    AC value of the signal.

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

    datatype_icon

    DC value

    DC value of the signal.

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

    datatype_icon

    RMS value

    Root mean square value of the signal.

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

    datatype_icon

    error out

    Error information.

    The node produces this output 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.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics