The scanrel alias will perform a scan of the specified motor relative
to its current position.
The syntax for the scanrel alias is:
scanrel motor
start_rel stop_rel step
Note that no preset is specified in the above alias. This means
that the preset used in this alias will always be the default.
See the help document for the preset command to get more
information about changing the default preset.
Example: scanrel s1 -2 2 0.2
This command will perform a scan of motor s1
from 2 degrees below its current position to 2 degrees above 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:
scan
%1 @(%1)+%2 @(%1)+%3 %3
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.