Table Of Contents

Pulse Train (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Generates an array that concatenates a series of pulses according to a specific prototype pulse. This node constructs the pulse train using a specific interpolation method.

    connector_pane_image
    datatype_icon

    interpolation method

    Interpolation method used to construct the pulse train.

    When the sampling of the pulse train is not exactly in time with the prototype pulse sampling, this node uses the specified interpolation method to get the pulse train samples.

    Name Value Description
    Nearest 0 Uses the nearest interpolation method.
    Linear 1 Uses the linear interpolation method.
    Spline 2 Uses the spline interpolation method.
    Cubic Hermite 3 Uses the cubic Hermite interpolation method.

    Default: Linear

    datatype_icon

    amplitude

    Amplitudes of each duplication of the prototype pulse in the output pulse train.

    datatype_icon

    delay

    Delay of each duplication of the prototype pulse in the output pulse train.

    datatype_icon

    prototype specification

    Prototype pulse of the output pulse train.

    datatype_icon

    prototype pulse

    Prototype pulse, which starts at zero in the time axis.

    datatype_icon

    dt of prototype pulse

    Sampling interval of the prototype pulse.

    Default: 0.1

    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

    dt

    Sampling interval of output pulse train.

    Default: 0.1

    datatype_icon

    samples

    Number of samples of the output pulse train.

    If samples is less than 1, this node sets pulse train to an empty array and returns an error.

    Default: 128

    datatype_icon

    pulse train

    An array that contains a pulse train of samples.

    datatype_icon

    error out

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

    Algorithm for Generating the Pulse Train

    If the sequence Y represents pulse train, this node generates the pattern according to the following equation:

    y i = m = 0 M 1 A m * f ( i * Δ t D m )

    where

    • f is the prototype pulse
    • Δt is the dt of prototype pulse
    • Am is the mth element of amplitude
    • Dm is the mth element of delay, whose size must be equal to the size of amplitude

    If Di - Dj is less than the width of the prototype pulse for any i, j between 0 to M - 1, overlap occurs.

    The following figures show a prototype pulse and its pulse train.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics