I’m using this .meas
command in QSPICE:
.meas toff_1 find time when V(ds) = 1.5 cross=last
This detects the last crossing point where V(ds) = 1.5
.
I want to find the second-to-last crossing point. Is there a way to use something like ‘cross=last-1’?
Due to signal oscillations, it’s difficult to manually set the correct ‘n’ for ‘cross=n’. I need a more reliable method to accurately measure switch rise and fall times under these conditions.
Thanks in advance!