Table Of Contents

Pattern Generator (Pulse) (G Dataflow)

Version:
    Last Modified: January 9, 2017

    Generates a signal containing a pulse pattern.

    connector_pane_image
    datatype_icon

    amplitude

    Amplitude of the pattern.

    Default: 1

    datatype_icon

    delay

    Shifts the starting point of the pattern in the time axis. This input must be greater than or equal to 0.

    Default: 0

    datatype_icon

    width

    Width of the pattern. This input must be greater than or equal to 0.

    Default: 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

    samples

    Number of samples in the pattern. This input must be greater than or equal to delay + width. If this input is less than 0, this node sets the output pattern to an empty array and returns an error.

    Default: 128

    datatype_icon

    pulse pattern

    Output pulse pattern. The largest pulse pattern this node can generate depends on the amount of memory in your system, and it is theoretically limited to 2,147,483,647 (231 - 1) elements.

    datatype_icon

    error out

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

    Algorithm for Generating the Pulse Pattern

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

    x i = { a if d i < ( d + w ) 0 elsewhere

    for i = 0 , 1 , 2 , ... , n 1

    where

    • a is the amplitude
    • d is the delay
    • w is the width
    • n is the number of samples

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: Not supported


    Recently Viewed Topics