Appendix C: Algorithms
C–8
TVS600 & TVS600A Command Reference
Ratio of two amplitudes measurement. An amplitude measurement (see
Amplitude on page C-5) is taken of the reference and target waveforms.
Gain =
Amplitude
target
Amplitude
refernece
Timing measurement. The time taken for the falling edge of a pulse to drop from
a HighRef value (default = 90%) to a LowRef value (default = 10%).
Figure C–2 shows a falling edge with the two crossings necessary to calculate a
fall time measurement.
1. Based on the index n specified by the CALCulate:WMParameter:EDGE
command, count edges according to the following rules:
H Positive arguments search forward from the start-to-end of the waveform
record; zero and negative arguments search backward from the end-to-
start.
H Zero specifies the last edge in the waveform record.
H Count only edges that go through both HREF and LREF (see Fig-
ure C–2).
2. Continue the search process until the n
th
negative-going edge is found (user
specifies n using the CALCulate:WMParameter:EDGE command).
3. Find the time of the HREF crossing for the n
th
edge. This time is THF. (Use
linear interpolation if necessary.)
4. Find the time of the LREF crossing for the n
th
edge. This time is TLF. (Use
linear interpolation if necessary.)
5. FallTime = TLF – THF
Gain
Fall Time