spec-session to run spec-session from UNIX window (Example: hdiffr)
wa list of all defined motors with its user and dial values
wu list of all defined motors with its user values
wm motor-name1 motor-name2 ... where motors: user and dial values, soft limits of motors
mv motor-name number absolute move of a motor by number [mm] or [º]
mvr motor-name number relative move of a motor by number [mm] or [º]
umv motor-name number updated absolute move of a motor by number [mm] or [º]
umvr motor-name number updated relative move of a motor by number [mm] or [º]
ascan motor-name init_value final_value nº_of_steps time_per_step absolute scan
dscan motor-name init_value final_value nº_of_steps time_per_step relative scan
tw motor-name number move a motor by defined (number) amount in repetition
ct number counting time number (in seconds);list of all defined counters
counters define your counters
setplot define parameters of the plot on the screen
plotselect define counters to be print
setscans define some scan parameters
ctrl C stop execution of a command (avoid to do this when camera is counting)
newfile fill name of the file where the values of all future scans will be stored
comment blabla comments to be added in newfile
bench command give time spent to execute a command
p date() print on screen date and time
p time() print on screen time
p "blabla" print on screen blabla
p 120*4 print calculation result
pon;command;poff print everything which appears on the screen between these two commands
pplot print last screen
cplot 50 1 -2 display scan nº50: with (n-2) column as a function of first column
pplot 50 1 -2 print scan nº50: with (n-2) column as a function of first column
cpsetup fill desired parameters for printing
reconfig SPEC session is re-configured: can help in the case of some troubles
prdef macro-name listing of commands in a known macro
lsdef *name* list of known macros conatining string name
def macro-name '{ ... }' create a macro directly, commands inside brackets
whats variable-name give information about variable-name
qdo path/macro-name.mac compile all macros in macro-name.mac file in this SPEC session
jdo macro-name.mac same as qdo with path=/users/specadm/jmacros
! unix-command use of unix-command inside a SPEC session
spec-session -f in UNIX window starts a spec-session from fresh
shopen or shclose open/close variable beam shutter (monochromatic hutch)
quitorctrl d quit SPEC session - return to UNIX window