Transition Measurements N chan VI
- Updated2025-07-30
- 10 minute(s) read
Accepts an input signal of a single waveform or an array of waveforms and measures the transition duration (rise or fall time), slew rate, undershoot, and overshoot of a selected positive or negative transition in each waveform. Wire data to the signal in input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
edge number (1)
—
edge number specifies the transition to measure. An edge number of n with rising polarity selected indicates that the VI measures the nth rising transition it detects in the input waveform.
signal(s) in
—
signal(s) in is the array of waveforms to measure. The waveform is required to contain at least edge number transitions in the direction specified by polarity. A rising transition is the interval between adjacent rising low ref level and high ref level crossings. A falling transition is the interval between adjacent falling high ref level and low ref level crossings.
polarity (rising)
—
polarity specifies the direction of the transition to measure as rising (default) or falling.
reference levels
—
reference levels specifies the high and low reference levels required to determine the transition interval. mid ref level is not used in transition measurements. Reference levels provide a means to identify the position in time of the waveform feature measured.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
percent level settings
—
percent level settings specifies the method LabVIEW uses to determine the high and low state levels of a waveform. If you select percent ref units, percent level settings determines the reference levels. Otherwise, LabVIEW ignores this input.
slope
—
slope is an array containing the slew rate for each waveform in signal(s) in. slope is a measure of the rate of change of the signal in a transition region between high ref level and low ref level. slope is given by the following equation.
transition duration
—
transition duration is an array of the time spans from when each waveform crosses the low ref level until it crosses the high ref level in seconds for a rising transition polarity. The measurement starts at the left edge of the waveform and finds all low ref level crossings preceding the first high ref level crossing. The final low ref level crossing is used in the calculation. A rising polarity transition duration is known as rise time, and a falling polarity transition duration is known as fall time, as shown in the following example:
pre-transition
—
pre-transition contains the undershoot and overshoot for each waveform in signal(s) in. Refer to the Details section for more information about the pre-transition output.
post-transition
—
post-transition contains the undershoot and overshoot for each waveform in signal(s) in. Refer to the Details section for more information about the post-transition output.
error out
—
error out contains error information. This output provides standard error out functionality.
measurement info
—
measurement info is an array of clusters containing measurement information for each input waveform.
|
pre-transition
To calculate the pre-transition undershoot and overshoot, LabVIEW searches for a local minimum and maximum in the pre-transition aberration region immediately preceding the beginning of the transition specified by edge number and polarity. The pre-transition aberration region is defined as the minimum of 3*(end time – start time) and (current transition start time – previous transition end time) / 2. If the transition to measure is the first in the waveform, the interval is defined as the minimum of 3*(end time – start time) and (start time – beginning of the waveform).
If polarity is falling, LabVIEW calculates the pre-transition undershoot using the following equation:
If polarity is rising, LabVIEW calculates the pre-transition undershoot using the following equation:
If polarity is falling, LabVIEW calculates the pre-transition overshoot using the following equation:
If polarity is rising, LabVIEW calculates the pre-transition overshoot using the following equation:
post-transition
To calculate the post-transition undershoot and overshoot, LabVIEW searches for a local minimum and maximum in the post-transition aberration region immediately following the end of the transition specified by edge number and polarity. The post-transition aberration region is defined as the minimum of 3*(end time – start time) and (next transition start time – current transition end time) / 2. If the transition to measure is the last in the waveform, the interval is defined as the minimum of 3*(end time – start time) and (end of the waveform – end time).
If polarity is falling, LabVIEW calculates the post-transition undershoot using the following equation:
If polarity is rising, LabVIEW calculates the post-transition undershoot using the following equation:
If polarity is falling, LabVIEW calculates the post-transition overshoot using the following equation:
If polarity is rising, LabVIEW calculates the post-transition overshoot using the following equation:
Example Illustrations
The following illustration shows the undershoot and overshoot in a negative single transition.
The following illustration shows the undershoot and overshoot in a positive single transition.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Waveform Measurements\Pulse and Transition Measurements.vi
- labview\examples\Signal Processing\Waveform Measurements\N channel Pulse and Transition Measurements.vi
edge number (1)
—
signal(s) in
—
polarity (rising)
—
reference levels
—
high ref level
—
error in (no error)
—
method
—
slope
—


pre-transition
—
undershoot (%)
—
error out
—
measurement info
—
ref levels
—
ref units
—