Command
| Description | Example |
Basic Commands |
cd | Unix command, changes current directory | cd goodData |
pwd | Unix command, prints the current directory | pwd |
| | |
Moving Motors, Running Macros |
wm MotorName | Returns the current position of the motor indicated by MotorName | wm sampleZ |
we | Returns the positions of all currently configured motors | we |
umv MotorName N | Moves the MotorName motor to the indicated N value | umv sampleZ 5 |
umvr MotorName N | Moves the MotorName motor N units relative to its current position | umvr sampleZ -6 |
ct T | Counts for T seconds; no motors are moved | |
tseries N T | Counts for N points, collecting for T seconds per point; no motors are moved | tseries 60 0.5 |
do macro.mac | Runs the macro found in macro.mac file | do raster.mac |
newfile fileName | Creates a new file named fileName in the current directory; if fileName already exists, data is appended to the existing file | newfile bestDataEver |
ctrl+c | Cancels whatever scan or motor move is currently in progress | ctrl+c |
| | |
Performing Motor Scans |
dscan MotorName X Y N T | Scans the MotorName motor from X to Y relative to its starting position, taking N points and counting T seconds per point | dscan xesuana -3 3 20 1 |
ascan MotorName X Y N T | Scans the MotorName motor from absolute position X to absolute position Y, taking N points and counting T seconds per point | ascan xesuana -10 -7 20 1 |
d2scan Motor1 X1 Y1 Motor2 X2 Y2 N T | This is a dscan that scans two motors at the same time | d2scan xesdana -1 1 xesddet -2 2 40 1 |
fscan fileName.txt T | Performs the scan defined in fileName.txt, counting for T seconds per point | fscan mainline.txt 3 |
| | |
Moving and Scanning Incident Energy |
moveE N | Moves the monochromator to the indicated N energy in keV | moveE 7.112 |
moveUE N | Moves the undulator to the indicated N energy in keV | moveUE 7.112 |
getE | Prints the current monochromator energy | getE |
flyescan scanName.txt | Performs a monochromator energy flyscan as defined in scanName.txt; this is the preferred means of energy scanning! | flyescan MnEXAFS.txt |
Escan start stop N T | Macro that performs a scan of the incident energy from start to stop in keV, with N number of points and a count time of T seconds per point | Escan 7.10 7.15 150 1 |
EscanU start stop N T | Same as Escan but here the undulator moves to match the monochromator energy | EscanU 7.10 7.15 150 1 |
define_scan | Macro for the creation of multi-segment incident energy scans | define_scan |
show_scan | Displays the currently configured multi-segment incident energy scan | show_scan |
alter_scan | Macro to modify the currently configured multi-segment incident energy scan | alter_scan |
start | Command to run a single scan as defined in define_scan | start |
mstart N | Command to run N consecutive scans, on the same sample spot, as defined in define_scan | mstart 3 |
| | |
Other Commands |
opens | Opens the fast shutters and keeps them open | opens |
closes | Closes the fast shutters and only opens them when data is being collected | closes |
| | |
| | |
| | |
| | |
ctrl+d | [Staff Only!] Logs out of spec | ctrl+d |
config | [Staff Only!] Opens beamline configuration | config |
counters | [Staff Only!] Opens control for spec plotter | counters |
fly_setup | [Staff Only!] Enables configuration of flyscans | fly_setup |