For more information about the syntax for scansim, see the help
document for the scan command.
The output of the scansim command will contain any errors that would
occur during the scan. This includes checking for completion of
the scattering triangle (in the case of a Q-E scan) and also checking
that all destination motor positions are within allowed limits.
The scansim command
can also be accessed from the GUI. The Scan tab
is found under the Drive/Scan/Count
top-level tab. The motors and pseudomotors are ogranized into
categories for convenience. To add a motor to the list to be
scanned, simply select it from the appropriate list. To delete a motor,
hit the relevant Delete
button. Type in the Start, End, and Step for each of the included
motors, type in a scantitle in the Scan Title text box, select an
appropriate preset and hit the Simulate
Scan button at the bottom of the tab to initiate the simulation.
NOTE: unlike most
GUI interfaces, the interface to scansim
does not go through the command line. This is done intentionally
so that the user does not need to wait until completion of the current
command before he can see the results of the simulation.
The resulting popup window from simulating the scan generated from the
scan GUI interface (shown above) is shown in the image below. Points 6,7,8 will generate an error
because the destination for s2 is below the lower limit for motor s2 and points 9,10,11 generate errors
because the scattering triangle cannot be completed. After the
simulation popup box has been examined, hit the Cancel
button to remove this popup box and continue normal operation of the
program.