Table Of Contents

Distortion Measurements (SINAD) (G Dataflow)

Version:
    Last Modified: March 15, 2017

    Performs a full Signal in Noise and Distortion (SINAD) analysis, including measuring the fundamental frequency tone and returning the fundamental frequency and SINAD level in dB.

    connector_pane_image
    datatype_icon

    export mode

    Source of the signal and spectrum to export.

    Name Description
    none Uses the fastest computation.
    input signal Exports the input signal only.
    detected signal Exports a single tone.
    residual signal Exports a signal minus the tone.

    Default: none

    datatype_icon

    signal

    The input signal.

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

    datatype_icon

    center frequency

    Center frequency to use in the frequency-domain search for the fundamental tone frequency.

    Default: -1

    datatype_icon

    frequency width

    Frequency width, as a percentage of the sampling rate, for the frequency-domain search for the fundamental tone frequency.

    Default: 5

    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

    exported spectrum

    Spectrum of the exported signal.

    This output can return a cluster or a 1D array of clusters.

    datatype_icon

    f0

    Start frequency, in Hz, of the spectrum.

    datatype_icon

    df

    Frequency resolution, in Hz, of the spectrum.

    datatype_icon

    spectrum

    Computed spectrum.

    datatype_icon

    exported signal

    Waveform of the exported signal.

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

    datatype_icon

    fundamental frequency

    Detected fundamental frequency resulting from searching the frequency domain.

    This output can return a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers.

    Use the center frequency and frequency width to set the frequency domain search range. All harmonics are measured at integer multiples of this fundamental frequency.

    datatype_icon

    SINAD

    Measured Signal in Noise and Distortion (SINAD) expressed in dB.

    This output can return a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers.

    This output is the ratio of the RMS energy of the input signal to the RMS energy of the input signal less the energy in the fundamental. To compute the measured total harmonic distortion plus noise in dB, negate the SINAD in dB

    datatype_icon

    THD plus noise

    Measured total harmonic distortion (THD) plus noise.

    This output can return a double-precision, floating-point number or a 1D array of double-precision, floating-point numbers.

    This output is the ratio of the RMS energy of the input signal less the energy in the fundamental to the RMS energy of the input signal. To compute this output as a percentage, multiply the value by 100.

    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