Phase VI
- Updated2023-02-21
- 5 minute(s) read
Phase VI
Owning Palette: Timing VIs
Requires: Jitter Analysis Toolkit
Measures the differences in phase between corresponding cycles in two waveforms.
You can use this VI to measure the response of a signal to a particular stimulus. For example, level crossings A might be the original signal, and level crossings B might be the response signal following a stimulus. You also can use this VI to compare waveforms from two different channels.

![]() |
level crossings A contains information about the locations of level crossings in a waveform. You can use the Level Crossing VI to generate this cluster from a waveform.
| ||||||||||||||
![]() |
level crossings B (ref) contains information about the locations of level crossings in a waveform. level crossings B (ref) serves as the reference against which this VI compares level crossings A. You can use the Level Crossing VI to generate this cluster from a waveform.
| ||||||||||||||
![]() |
phase unit specifies the units in which to express the phase measurements.
|
||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||
![]() |
rising/falling specifies the direction of the transition at which to begin the measurement. This VI begins measuring at the first transition of that direction in the waveform.
|
||||||||||||||
![]() |
phase sequence returns the differences between the times that cycles begin, in units specified by phase unit. The time difference relative to the period of level crossings A (Tdiff/T) is the phase ratio. | ||||||||||||||
![]() |
phase timestamps returns timing information about the waveform that allows you to identify the times at which measurements in the corresponding sequence occurred.
| ||||||||||||||
![]() |
mean phase is the average of the phase offset measurements returned in phase sequence. This VI uses the Mean VI to compute the mean of the values in phase sequence. | ||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Phase Details
This VI uses level crossings B (ref) as the reference against which to measure the phase difference in level crossings A. Thus, when level crossings A occurs after level crossings B (ref), the phase measurement is positive. When the opposite is true, the phase measurement is negative.
To identify the first pair of cycles to measure, this VI finds the edge in level crossings B nearest to the first edge in level crossings A of the direction specified by slope. The next edges of the same direction in each input also become pairs, and so on.











