Multiconfiguration
spec
setup
Detlef Smilgies, CHESS
In order to administrate 90 or so pre-configured motors, use of the
geometry feature
of spec was
made. Three geometries are currently supported:
- saxs
- SAXS/WAXS and GISAXS experiments
- image -
fluorescence imaging experiments (microbeam imaging, confocal
microscopy)
- radio -
radiography experiments (e.g. fuel spray, PAD tests)
Use of the geometry mode
Presently supported are the following geometries
- common
/ spec
- monochromator
- incident slits
- DAC motors
- saxs
- hutch slits
- sample stage
- flighpath
- beamstop
- detector
- image
- capillary mount
- beam block
- scanning stages (Thorne, Woll)
- detector
- radio
- fuel jet set-up (Jin Wang)
The most striking difference of the multi-configuration spec version is
when you want of add a motor, config will
tell you:
Must display all motors to insert. The keystroke shift-g
will display all motors supported by spec. Now
we seem to have
lost all the advantages again, as we have to deal with the full number
of motors. But fear not! After adding and assigning the new motors to a
geometry, another shift-g
will get rid of the motors not needed.
NOTE: when switching over geometries
- assign all previously used motor channels to "none" (except for
"common"
motors or non-VME motors).
- start fresh, in order to get rid of not needed macros from the
previous configuration
Geometry-specific macros
Another beauty of the multiconfiguration setup is, that not every macro
needs to be loaded at start-up, but that configuration
specific macros can be permanently installed, so that they only load
under the specific geometry. Use the following steps:
- unassign all VME motor channels from the previous geometry that
are not common
- start fresh, e.g. saxs -f
to remove macros from the previous geometry that are no longer needed
- the necessary macros will be loaded by setup.mac
on SPECD/SPEC/
which is the geometry-dependent configuration directory with SPEC = spec, saxs,
image, radio
- in order to edit setup.mac
from the spec
level, type setup
- I often use set-up to save some small useful macros and to
test/debug macros; eventual frequently used macros or macro sets should
be properly installed
as D1 macros on ~/Macros/nondist