Appendix B: Algorithms
Appendices
Maximum
Amplitude (voltage) measurement. The maximum voltage. Typically the most
positive peak voltage.
Examine all samples from to inclusive, and set
equal to the greatest magnitude value found.
Mean
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.
If = then return the (interpolated) value at .
Otherwise,
=
For details of the integration algorithm, see page A-19.
Minimum
Amplitude (voltage) measurement. The minimum amplitude. Typically the
most negative peak voltage.
Examine all samples from

Start

to

End

inclusive, and set

Min

equal to the smallest magnitude

Waveform[ ]

value found.
Negative Duty Cycle
Timing measurement. The ratio of the negative pulse width to the signal
period expressed as a percentage.
is defined in Negative Width, below.
If = 0 or undefined then return an error.
=
Negative Overshoot
Amplitude (voltage) measurement.
=
Note that this value should never be negative (unless High or Low are set
out-of-range).