All scalar measurements involving time use the concept of reference level crossings, which occur when the waveform voltage crosses the reference level. Linear interpolation accurately estimates the crosspoint times. In some cases, a digital hysteresis is used, where the window size is the vertical range times the value of hysteresis percent divided by 100. The waveform must be outside the window before a crossing is counted. If the waveform starts above the voltage reference level plus the hystersis window size and crosses the voltage reference level, a negative sloped crossing is counted. Another crossing is not counted until the waveform passes below the reference level minus the hysteresis window size. See the following figure for a hysteresis example. The figure shows an exaggerated example of digital hysteresis, where the dots are the real crosspoints after eliminating the fake crosspoints due to noise.

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).