Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
TTMFIX.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
A simple macro set which uses pseudo motors to couple the 2th movement to the theta movement. If the user types ttmfix, 2th will be move twice the angle theta moves. The initial offset will be kept. EXAMPLE fixttmsetup 2th th ( tells the macro which motors to use) th : 10 degrees 2th: 25 degrees fixttm (from now on 2th will be coupled to th) mv th 20 wa th : 20 degrees (th moved 10 degrees) 2th: 45 degrees (2th moved 20 degrees) freettm (from now on, 2th can be move independently)fixttmsetup tth-motor th-motor ATTENTION If you use a standard geometrie together with a standard spec monochromator, the coupling of tth to the mono energy during energy scans is done inside spec. See help Escan at spec prompt. DEPENDENCIES The file fixttm.mac has to be read in !done by: startup script (this file needs: stchanges.mac) | ||||||
Macros:
Usage: fixttmsetup used to fix the current position for tth. Moveing th now will move tth twice the angle fixttm Usage: fixttm fixes the tth motor freettm Usage: freettm frees the tth motor for movement again scan_E Usage: scan_E like scanE but with fixed tth (the same as fixttm; scanE; freettm) new_E Usage: new_E like moveE but with fixed tth (the same as fixttm; moveE; freettm) | ||||||
Internal Macros: | ||||||
Usage: ttmfix_checkall ttmcleanup Usage: ttmcleanup frees the ttm motor if ^c is hit | ||||||
|