Issue link: https://resources.pcb.cadence.com/i/1180526
PSpice User Guide
Measurement expressions
October 2019 806 Product Version 17.4-2019
© 1999-2019 All Rights Reserved.
Any line beginning with an asterisk is considered a comment line.
The name of the measurement is Risetime. Risetime will take 1
argument, a trace name (as seen from the comments).
The first search function searches forward (positive x direction) for
the point on the trace where the waveform crosses the 10% point in
a positive direction. That point's X and Y coordinates will be marked
and saved as point 1.
The second search function searches forward in the positive direction
for the point on the trace where the waveform crosses the 90% mark.
That point's X and Y coordinates will be marked and saved as point 2.
The marked point expression is x2-x1. This means the measurement
calculates the X value of point 2 minus the X value of point 1 and
returns that number.
Risetime definition
Risetime(1) = x2-x1
*
*#Desc#* Find the difference between the X values
where the trace first
*#Desc#* crosses 10% and then 90% of its maximum
value with a positive
*#Desc#* slope.
*#Desc#* (i.e. Find the risetime of a step
response curve with no
*#Desc#* overshoot. If the signal has overshoot,
use GenRise().)
*
*#Arg1#* Name of trace to search
*
* Usage:
*Risetime(