Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
HEAT.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
The macro reads the machine current and changes the horizontal gap of the primary slits so the heat on the crystal is constant SETUP motorsused - pf (front blade), pb (back blade) of the primary slits pseudomotor - phg (horizontal gap) machinecurrent - read from the "machine" - sys/machstat DEPENDENCIES ring_current.mac | ||||||
Macros:
Usage: heat_setup [sleep_time motor_to_move [thc_device thc_channel]] setup the compensation loop: set sleep_time betweeen the compensation and the motor_to_move to compensate the temperature of the monochromator crystal due to the decrease of the machine current. If desired, set the reading the monochromator crystal temperature - read the thc_channel of the thc_device. Finaly read the initial horizontal gap and machine current. heat_loop Usage: heat_loop Start the compensation procedure. Attention!! - this is an infinite loop. Use ^C to stop it | ||||||
Internal Macros: | ||||||
Usage: _heat_first_read() reads the machine current ("sys/mach/current") and the gap (phg) at the begining of the compensation loop | ||||||
|