Appendix B: Algorithms
B–4 TDS 500C, TDS 600B, & TDS 700C User Manual
MCross1, MCross2, and MCross3 — refer to the first, second, and third 
cross times, respectively. (See Figure B–1.)
The polarity of the crossings does not matter for these variables, but the
crossings alternate in polarity; that is,  could be a positive or negative
crossing, but if  is a positive crossing,  will be a negative
crossing.
MidRef + (Hysteresis x Amplitude)
MidRef – (Hysteresis x Amplitude)
MidRef
MCross1
(StartCycle) MCross2 MCross3
(EndCycle)
Figure B–1: MCross Calculations
The oscilloscope calculates these values as follows:
1. Find the first  in the waveform record or the gated region.
This is .
2. Continuing from , find the next  in the waveform
record (or the gated region) of the opposite polarity of . This is
.
3. Continuing from , find the next  in the waveform
record (or the gated region) of the same polarity as . This is
.
MCross1Polarity — is the polarity of first crossing (no default). It can be rising or
falling.
MCross Calculations