Ramp signal for test signal generation
ramp(
creates a ramp signal wave with a
slope of 1 and returns the value of the ramp at time x
)x
.
To specify when to generate a ramp signal within a test step, use this operator with the
elapsed time (et
) operator.
Note
ramp(et)
returns the elapsed time of the test step and is the
same as et
.
Create a ramp signal that increases one unit every 3 seconds in the test step.
ramp(et/3)
ramp
signal generation statements can be used in the Test Sequence and
Test Assessment blocks and in Stateflow® charts.