5.5.5.3. - Linked Configurations
An installation such as a synchrotron beamline uses many motors with most associated with beamline control. Spectrometers used for particular experiments have motors that aren't used in other experiments. To avoid having to merge the motor configurations and settings from one set of files to another when the spectrometer is changed, you can set things up so that a single version of the config and settings files will describe a number of different spectrometers. Here is how to set up the files:
ln fourc/config surf/config ln fourc/settings surf/settingsto create hard links in the surf directory. Don't use symbolic links.
GEO0 = common GEO1 = fourc GEO2 = surf GEO3 = fivec etc.The parameter
GEO0
always refers to the motors that are common to all the geometries.
Subsequent lines assign consecutive numbers to the other geometries.
The hard links must be maintained for the shared config and settings file scheme to work. You can safely use vi and cp to manipulate the files. However, using mv will destroy the links, as will some text editors.
When running edconf with a geometry directory as an argument or when invoking the config macro from spec, use the
G
command to toggle between displaying all the motors and scalers in the
config
file and just those motors and scalers
used by the given geometry.