Owning Palette: Signal Generation VIs
Requires: Full Development System
Generates an array containing a pulse pattern.
Add to the block diagram | Find on the palette |
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. | |
amplitude is the amplitude of Pulse Pattern. The default is 1.0. | |
delay must be greater than or equal to 0. The default is 0. | |
width must be greater than or equal to 0. The default is 1. | |
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. | |
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.