Save value of an expression
latch(
saves the value of
x
)x
when the test step is entered and returns that value of
x
. The latch(x)
statement reevaluates the next
time the step is entered. You can use latch statements in Test Sequence and Test Assessment
blocks.
Save the value of the torque in the variable latch_val
.
latch_val = latch(torque)