Pulse Pattern VI

Generates an array containing a pulse pattern.


icon

Inputs/Outputs

  • ci32.png samples

    samples is the number of samples of the Pulse Pattern. The default is 128.

    samples must be greater than or equal to delay + width. If samples is less than zero, the VI sets Pulse Pattern to an empty array and returns an error.

  • cdbl.png amplitude

    amplitude is the amplitude of Pulse Pattern. The default is 1.0.

  • ci32.png delay

    delay must be greater than or equal to 0. The default is 0.

  • ci32.png width

    width must be greater than or equal to 0. The default is 1.

  • i1ddbl.png Pulse Pattern

    Pulse Pattern returns the pulse pattern of samples.

    The largest Pulse Pattern the VI can generate depends on the amount of memory in your system, and it is theoretically limited to 2,147,483,647 (231 – 1) elements.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

  • If the sequence X represents Pulse Pattern, the Pulse Pattern VI generates the pattern according to the following equation.

    for i = 0, 1, 2, …, n – 1,

    where a is the amplitude, d is the delay, w is the width, and n is the number of samples.