Spice_icon SPICE
Spectrometer Instrument Control Environment


set_temp:

The set_temp alias will set the temperature setpoint.

The syntax for the set_temp alias is:

     set_temp value    

The temperature can be driven (in the same way as any motor) using the drive command (i.e. drive temp value).  However, changing the temperature in this manner will not exit from the drive until the temperature gets within tolerance of the setpoint.  If you wish to simply change the setpoint WITHOUT waiting until the temperature is within tolerance of the setpoint, use the set_temp alias.



NOTE
that the following information is not required to understand the usage of the command but is included for completeness:

The alias definition is:

     logfileoutput off; method temp set_setpoint d %1; method temp get_setpoint; logfileoutput on; comment "The temperature setpoint was set to @(methodreal0)" title "Setting the temperature setpoint"

This alias first turns off output to the logfile (logfileoutput off), calls the set_setpoint method on the temperature driver, calls the get_setpoint method on the temperature driver to read the setpoint from the controller, turns the output to the logfile back on (logfileoutput on), and finally issues a comment which reports this stored value.