Analyzes the input sequence X for a pulse pattern and determines the best set of pulse parameters that describes the pulse. Details
![]() |
X is the input sequence.
X must meet the following conditions:
If the number of samples in X is less than 3, the VI sets all the pulse parameters to NaN and returns an error. If X does not contain a rising edge, plateau, and falling edge, the VI analyzes the data, assigns values to as many pulse parameters as it can identify, and sets parameters it cannot identify to NaN. The VI does not report this condition as an error.
If the data in X is noisy beyond the expected 50% amplitude, the VI does not have enough information to differentiate between glitches and pulse data and may assign incorrect values to the pulse parameters. Because it cannot be detected, the VI does not report this condition as an error.
|
||||||
![]() |
slew rate is the ratio between (90% amplitude - 10% amplitude) and the risetime. | ||||||
![]() |
overshoot is the difference between the maximum value in the pulse and the topline. | ||||||
![]() |
risetime is the time required to rise from 10% amplitude to 90% amplitude on the rising edge of the pulse. | ||||||
![]() |
top is the line that best represents the values when the pulse is active, high, or on. For a negative-going pulse, top is less than base and results in a negative amplitude. For a positive-going pulse, top is larger than base and results in a positive amplitude. | ||||||
![]() |
amplitude is the difference between top and base. | ||||||
![]() |
base is the line that best represents the values when the pulse is inactive, low, or off and is the level closest to zero. For a negative-going pulse, base is larger than top and results in a negative amplitude. For a positive-going pulse, base is less than top and results in a positive amplitude. | ||||||
![]() |
undershoot is the difference between the baseline and the minimum value in the pulse. | ||||||
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. | ||||||
![]() |
falltime is the time required to fall from 90% amplitude to 10% amplitude on the falling edge of the pulse. | ||||||
![]() |
duration is the difference between the falling edge time and the rising edge time at which 50% amplitude occurs. | ||||||
![]() |
delay is the difference between the time origin and the time at which 50% amplitude occurs on the rising edge of the pulse. |
![]() | Note The Cycle Average and RMS, Transition Measurements, Pulse Measurements, and Amplitude and Levels VIs provide more measurements than the Pulse Parameters VI and are configurable. |
The waveform-related parameters are slew rate, overshoot, topline (top), amplitude, baseline (base), and undershoot. The time-related parameters are risetime, falltime, duration (width), and delay.
The Pulse Parameters VI uses the following steps to calculate the output parameters.
The Pulse Parameters VI interpolates duration and delay to obtain a more accurate result not only of duration and delay but also of slew rate, risetime, and falltime.
If X contains a train of pulses, the Pulse Parameters VI uses the train to determine overshoot, top, amplitude, base, and undershoot but uses only the first pulse in the train to establish slew rate, risetime, falltime, duration, and delay.
![]() | Note Because pulses commonly occur in the negative direction, the Pulse Parameters VI can discriminate between positive and negative pulses and can analyze the X sequence correctly. You do not need to preprocess the sequence before analyzing it. |