Level Crossing VI
- Updated2023-02-21
- 15 minute(s) read
Level Crossing VI
Owning Palette: Timing VIs
Requires: Jitter Analysis Toolkit
Measures the times and locations a waveform crosses a particular voltage level. The Jitter Analysis VIs use level crossings to identify a common position in all transitions that you can use for comparison. Wire data to the transitions input and the waveform input to determine the polymorphic instance to use or manually select the instance.
This VI uses linear interpolation of the waveform points in transition regions to locate the precise crossing times. If the signal crosses the level more than once in a transition region, this VI returns only the first crossing.
Level Crossing (Transitions in, DBL)
Use this polymorphic instance to identify the level crossings in a waveform from information about its transitions.
This instance operates on the waveform data type when the Y data values are double-precision, floating-point numeric values. Use the I8 instance of this VI with integer data to reduce the size of the data and the memory usage.

![]() |
waveform is the waveform to measure.
| ||||||||||||||||||||||||||||
![]() |
transitions contains information about the transitions in the waveform. Use the Find Transitions VI to generate this cluster.
| ||||||||||||||||||||||||||||
![]() |
crossing level specifies the value at which this VI identifies level crossings in the waveform. If you do not wire a crossing level value, LabVIEW uses the mid reference level of the waveform. | ||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||
![]() |
waveform dup returns waveform unchanged. | ||||||||||||||||||||||||||||
![]() |
level crossings returns information about the locations of level crossings in the waveform.
| ||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Level Crossing (Transitions in, I8)
Use this polymorphic instance to identify the level crossings in a waveform from information about its transitions.
This instance operates on the waveform data type when the Y data values are 8-bit signed integers.

![]() |
waveform is the waveform to measure.
| ||||||||||||||||||||||||||||
![]() |
transitions contains information about the transitions in the waveform. Use the Find Transitions VI to generate this cluster.
| ||||||||||||||||||||||||||||
![]() |
crossing level specifies the value at which this VI identifies level crossings in the waveform. If you do not wire a crossing level value, LabVIEW uses the mid reference level of the waveform. | ||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||
![]() |
waveform dup returns waveform unchanged. | ||||||||||||||||||||||||||||
![]() |
level crossings returns information about the locations of level crossings in the waveform.
| ||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Level Crossing (Levels in, DBL)
Use this polymorphic instance to identify the level crossings in a waveform from its state levels and reference levels. This instance uses the mid ref level as the crossing level.
This instance operates on the waveform data type when the Y data values are double-precision, floating-point numeric values. Use the I8 instance of this VI with integer data to reduce the size of the data and the memory usage.

![]() |
waveform is the waveform to measure.
| ||||||||||||||
![]() |
state levels specifies the high and low state values in the waveform and the corresponding amplitude. You can use the State Levels or Reference Levels VIs to generate this cluster.
| ||||||||||||||
![]() |
reference levels specifies the high, middle, and low reference levels of a waveform. You can use the Reference Levels VI to generate this cluster.
| ||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||
![]() |
waveform dup returns waveform unchanged. | ||||||||||||||
![]() |
level crossings returns information about the locations of level crossings in the waveform.
| ||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Level Crossing (Levels in, I8)
Use this polymorphic instance to identify the level crossings in a waveform from its state levels and reference levels. This instance uses the mid ref level as the crossing level.
This instance operates on the waveform data type when the Y data values are 8-bit signed integers.

![]() |
waveform is the waveform to measure.
| ||||||||||||||||||||||||||||
![]() |
transitions contains information about the transitions in the waveform. Use the Find Transitions VI to generate this cluster.
| ||||||||||||||||||||||||||||
![]() |
crossing level specifies the value at which this VI identifies level crossings in the waveform. If you do not wire a crossing level value, LabVIEW uses the mid reference level of the waveform. | ||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||
![]() |
waveform dup returns waveform unchanged. | ||||||||||||||||||||||||||||
![]() |
level crossings returns information about the locations of level crossings in the waveform.
| ||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following VIs for examples of using the Level Crossing VI:
- Basic Eye Diagram VI: labview\examples\Jitter Analysis\Eye Diagram Measurements
- Rj Dj Separation VI: labview\examples\Jitter Analysis\Jitter Measurements
- Simulated Signal with Jitter VI: labview\examples\Jitter Analysis\Jitter Measurements
















