Table Of Contents

Resample (Variable to Constant) (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Resamples a waveform that is represented by time-value pairs.

    connector_pane_image
    datatype_icon

    XY-data

    Signal to resample.

    This input accepts the following types of data:

    • Array of pairs
    • Multiple arrays of pairs
    • Pair of arrays
    • Multiple pairs of arrays
    datatype_icon

    x

    X component of the XY pair.

    datatype_icon

    y

    Y component of the XY pair.

    datatype_icon

    resampled dt

    The sampling interval, in seconds, between data points in the resampled signal.

    Default: 1

    datatype_icon

    resampled t0

    Timestamp value for the resampled signal.

    If resampled t0 is less than the first X value of XY-data, the value is adjusted.

    Default: -Infinity

    datatype_icon

    interpolation mode

    Algorithm this nodes uses to perform alignment of waveforms.

    Name Value Description
    coerce 0 This node sets each output sample value to the input sample value that is closest to it in time.
    linear 1 This node sets each output sample value to the linear interpolation between the two input samples that are closest to it in time.
    spline 2 This node uses the spline interpolation algorithm to compute the resampled values.
    FIR filter 3 This node uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.

    Default: linear

    datatype_icon

    error in

    Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

    Default: No error

    datatype_icon

    resampled XY-data

    Resampled signal.

    This output can return the following types of data:

    • Array of pairs
    • Multiple arrays of pairs
    • Pair of arrays
    • Multiple pairs of arrays
    datatype_icon

    x

    X component of the XY pair.

    datatype_icon

    y

    Y component of the XY pair.

    datatype_icon

    resampled signal

    Resampled signal.

    This output can return a waveform or an array of waveforms.

    datatype_icon

    used t0

    The actual timestamp of the resampled waveform and also is the first X value of the array of XY pairs containing the resampled signal.

    datatype_icon

    error out

    Error information. The node produces this output according to standard error behavior.

    datatype_icon

    t0 adjusted warning?

    A Boolean that indicates whether the actual start time of the resampled signal equals the start time value you specified.

    True The actual start time of the resampled signal does not equal the start time value you specified.
    False The actual start time of the resampled signal equals the start time value you specified.

    This output is available only if you wire a waveform or an array of waveforms to signal.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics