Description |
Prints propagation delay of each waveform
with respect to the current one. |
|
select the source waveform; that is, the waveform
you want to be the reference for the propogation delay measurements. |
Hot Key |
none |
Script |
homecursors
SET COLWIDTH=0
printtext -n "Prop Delay with respect to "
printname current
printtext
printtext
SET COLWIDTH=15
printtext -n "Vector"
printtext "Delay"
printtext
threshold = average(current)
setcursor(2,0)
moveCursorRight(2,current,threshold)
setcursor(0,getcursorx(2))
nv = nextvector(null)
n = 3
while nv <> null
if length(nv) <> 1
if current <> nv
threshold = average(nv)
setcursor(n,getcursorx(2))
moveCursorRight(n, nv, threshold )
propDelay = getcursorx(n) - getcursorx(2)
printname nv
printval propDelay
printtext
n = n + 1
end
end
nv = nextvector(nv)
end
setcursor(1,getcursorx(3)) |
Example |
Open Sample3.dwg and run a simulation, plot
vin, vpd and several other vectors. Then make vin current by
selecting its handle with the mouse and select the calculator/Time
Domain/Propogation Delay menu. |
|