Spice_icon SPICE
Spectrometer Instrument Control Environment


driverel:

The driverel alias will move a motor by a specified amount relative to its current position.

The syntax for the driverel alias is:

     driverel motor value

For example:
      driverel s1 10 (this will drive motor s1 10 degrees past its current position)
      driverel q -0.5    (this will drive psqeudomotor q 0.5 inverse angstrom below its current position)



NOTE
that the following information is not required to understand the usage of the command but is included for completeness:

The alias definition is:

drive %1 @(%1)+%2

The syntax @(%1) will replace this string by the current position for motor %1.   For more information about the syntax of these @(...) variables, see the How to use and command-line variables guide.