spec

Software for Diffraction

ascan

motor scan

SYNOPSIS

ascan (motor start end)xN intervals time

DESCRIPTION

ascan scans one or more motors, as specified by the arguments. Each motor is specified by a mnemonic, start position and end position. By default, motors can also be specified by motor number, but that option can be disabled by setting the global variable NO_MV_MOT to a nonzero value. The step size is (start-end)/intervals. The number of data points collected will be intervals+1. Count time is given by time, which if positive, specifies seconds and if negative, specifies monitor counts.

EXAMPLE

ascan th 0 1 20 10