You are here: CLASSE Wiki>CHESS/Operations Web>ID2A>SpecCommands (21 Sep 2023, ChrisPollock)Edit Attach
Tags

Important spec commands and macros for ID2A - PIPOXS

*Command* *Description* *Example*
cd Unix command, changes current directory cd goodData
pwd Unix command, prints the current directory pwd
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
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
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
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
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
-- ChrisPollock - 27 Jan 2022
Topic revision: r4 - 21 Sep 2023, ChrisPollock
Warning: Can't find topic CHESS/Operations.WebLeftBarExample

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback