spec

Software for Diffraction

config

edit the hardware configuration

SYNOPSIS

config

DESCRIPTION

The config macro runs the configuration editor program edconf for the current spectrometer geometry. This program displays several configuration screens. The motor screen presents all the motor related parameters (step-size, stepping rate, limits, etc.) as well as the current positions of all motors. The scaler screen allows you to configure the scaler (counter) names and mnemonics and also which hardware channel is associated with which name. The device screen lets you select non-CAMAC motor controllers, timer/counters and MCA-type devices. The interface screen is used to select a CAMAC controller, a GPIB controller, and ports for user-level serial devices and user-level PC I/O ports. If a CAMAC device is defined, the CAMAC screen that shows the slot configuration will become accessible.

Help is available while running the configuration editor using the commands ? and H.

When you exit edconf, spec rereads the modified configuration and re-initializes the hardware devices.

On some installations, only authorized users are able to modify the hardware configuration.

FILES


spec.d/spectro/config
spec.d/spectro/settings

DEFINITION

def config '
   wait(-1)
   sync
   unix(sprintf("%s/edconf %s %s/%s",\
     SPECD, set_sim(-1)? "-s":"", SPECD, SPEC))
   reconfig
   _assign
'

SEE ALSO


spec Administrator's Guide