Welcome | spec | C-PLOT | Support | Users | Contact
 
Contents -> tw  
spec Help pages

NAME

tw - "tweak" motors

SYNOPSIS

tw motor [motor2 ...] delta [delta2 ...] [ctime]

DESCRIPTION

The tw macro is used to interactively move one or more motors in small increments. Each time you hit return the motor or motors specified in the arguments will be moved the amount given by the corresponding delta parameters. The delta parameters can be of different signs for the different motors. You can change directions for all the motors by typing + or - (or p or n) before hitting return. You can also enter a new (signed) delta for the first motor for subsequent moves. The delta for the other motors will be changed proportionally.

If the optional ctime parameter is given, the results of counting for the specified time will be displayed after each move. If the settling-time parameter _sleep (set by the setscans macro) is nonzero, counting will be delayed by the specified time.

If the global variable TW_BEEP is nonzero, the macro will beep when the moving and counting is finished for each iteration. By default, beeping is off.

If the global variable TW_UPDATE is nonzero, the moving and counting values will be updated on the screen using the value of the standard UPDATE variable as the delay between each update. By default, the updated mode is enabled.

If the PRINTER global variable is non-null, the beginning and ending positions of each tweaked motor will be printed to the indicated device at the end of the tweaking or on a ^C interrupt.

EXAMPLE

tw th .01
 tw tth th 1 .5 2

SEE ALSO

dscan

[Help File Index]


... Meeting the software needs of scientists since 1985 ...

Return to CSS home page ...
Last Formatted Jul 14, 2008
Last Updated 02/28/01
Send comments, queries, suggestions to info@certif.com

© 1995-2003 Certified Scientific Software. All rights reserved