Pulse Train VI

Owning Palette: Signal Generation VIs

Requires: Full Development System

Generates an array that concatenates a series of pulses according to the Prototype Pulse. This VI constructs the Pulse Train output by the specified interpolation method.

Details  Example

 Add to the block diagram  Find on the palette
interpolation method specifies the interpolation method used to construct the Pulse Train. The default is Linear (1).

0Nearest
1Linear (default)
2Spline
3Cubic Hermite
samples is the number of samples of the Pulse Train. If samples is less than 1, the VI sets Pulse Train to an empty array and returns an error. The default is 128.
delta t of pulse train (s) is the sampling interval of Pulse Train. The default is 0.1.
Amplitude specifies the amplitudes of each duplication of the Prototype Pulse in the Pulse Train.
Delay (s) specifies the delay of each duplication of the Prototype Pulse in Pulse Train.
prototype spec specifies the prototype pulse of the Pulse Train.
Prototype Pulse specifies the prototype pulse, which starts at zero in the time axis.
delta t of Prototype Pulse (s) is the sampling interval of Prototype Pulse. The default is 0.1.
Pulse Train is an array that contains a pulse train of samples.
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.

Pulse Train Details

If the sequence Y represents Pulse Train, the Pulse Train VI generates the pattern according to the following equation.

where f is the Prototype Pulse, Δt is the delta t of pulse train, Am is the m-th element of Amplitude, and Dm is the m-th element of Delay (s), whose size must be equal to the size of Amplitude.

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

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

The following two front panels show a prototype pulse and its pulse train.

Example

Refer to the Pulse Train demo VI in the labview\examples\Signal Processing\Signal Generation directory for an example of using the Pulse Train VI.

 Open example  Find related examples