framp

Purpose:

Apply a ramp to a variable.

Enter:

framp <interval> <variable> <target> <ramp_rate>

Where:

interval Specify the rate at which the update is to be executed.
variable Specify the name of the variable to which a ramp is applied.
target Specify the final value to achieve as a result of the ramp.
ramp_rate Specify the ramp rate to apply to the variable.
Units are in units of variable per second. Rate is always positive. A value of “0” will immediately set the variable to the target and the program will exit.

Example:

framp WARP RPM 1200 50
The above command ramps the value of the RPM variable from its current value to 1200 RPM by 50 rpm/sec.

Notes:

The ramp_rate command applies a ramp to the specified variable at the rate specified in the target variables units per second.

Ramping is applied until the target is achieved.  The ramp command will stay active on the command console until the target is achieved.  To start ramp in background place an ampersand (&) after the last argument.

The target and ramp_rate may be specified as variable labels.

See Also:

sine