Appendix C: Algorithms
C–10
TVS600 & TVS600A Command Reference
Timing-measurement functions. These three measurements are of the times
relative to the trigger point at which the first, second, and third Mid Ref
crossings occur in the waveform. See Mcross Calculations on page C–3 for
definitions of crossings.
Mcross1, Mcross2, and Mcross3 cannot be included as measurements in the
measurement lists AAMList or WMList. Rather they can be used as functions in
calculation expressions.
Pretrigger crossings return negative times; posttrigger crossings return
positive times.
The arithmetic mean for one waveform. Remember that one waveform is not
necessarily equal to one cycle. For cyclical data you may prefer to use the cycle
mean rather than the arithmetic mean.
Mean +
ȍ
i+RecordLength – 1
i+0
Waveform [i]
RecordLength
Amplitude (voltage) measurement. The minimum amplitude. Typically the most
negative peak voltage.
Examine all Waveform[ ] samples from Start to End inclusive, and set Min
equal to the smallest magnitude Waveform[ ] value found.
Timing measurement. The ratio of the negative pulse width to the signal period
expressed as a percentage.
NegativeWidth is defined in Negative Width, below.
If Period = 0 or undefined then return an error.
NegativeDutyCycle =
NegativeWidth
Period
100%
Timing measurement. The distance (time) between MidRef (default = 50%)
amplitude points of a negative pulse.
If MCross1Polarity = ‘–’
then
NegativeWidth = (MCross2 – MCross1)
else
NegativeWidth = (MCross3 – MCross2)
Mcross1
Mcross2
Mcross3
Mean
Minimum
Negative Duty Cycle
Negative Width