spec

Software for Diffraction

teramp

ramp the temperature to a new set point

SYNOPSIS

teramp new_set_point ramp_time [step_size]

DESCRIPTION

The teramp macro gradually changes (or ramps) the temperature from the current set point to new_set_point. The ramp takes ramp_time seconds to complete.

If the optional step_size parameter is given, it used to calculate the time between updates of the controller setting. If the update interval is less than the value given by the global variable TERAMP_MIN (0.2 seconds, by default), the step_size will be increased to make the update interval at least TERAMP_MIN seconds.

If only two arguments are given and if the ramp_time parameter is less than 500 seconds, the controller setting is updated every two seconds. Otherwise, the controller is updated every ten seconds.

As with all of spec's temperature-control macros, you need to define a measuretemp and a _settemp macro that work correctly with your instruments. See the Temperature Control Macros section in the spec Standard Macro Guide and the temper.mac macro source file for details.

EXAMPLE


teramp 1.3 300
teramp 23 500 .01

SEE ALSO

te tscan dtscan showtemp