atten moves the absorber atten umber br moves to h k l br h k l ca calculates the angles from h, k and l values ca h k l hklscan scans in rez. space stops at the last point of the scan without return hklscan h_start h_stop k_start k_stop l_start l_stop n_points time hscan scan h stops at the last point of the scan without return hscan h_start h_stop n_points time kscan lscan hkmesh mesh hk-plane in rez. space hkmesh h_start h_stop h_points k_start k_stop k_points time l is fixed to the current value h-scans at different k values hlmesh klmesh lupphi line up phi in relative units returns to the starting point of the scan lupphi rel_startangle rel_stopangle n_points time lupchi lupom luptt luppsi th2th theta-2theta scan relative scan, return to start mitana puts the analyzer in position ohneana take the analyzer out or0 primary orientation reflection take current angles, no security - if or0 = or1 q-space not accessible or0 H K L or1 secondary orientation reflection or switch switches or0 and or1 usage: switch wh shows the position in rez. space and angles remembers the numbers for the current H K L as HH KK LL wi where is wh motor_name anmax moves th2th, omega, two-theta to maximum or midpoint ancen ommax omcen ttmax ttcen phimax phicen chimax chicen freeze fixes phi or psi in fixed phi or fixed psi mode at a specified value freeze angle unfreeze releases the freeze condition grawait waits for a defined time grawait time newfile choose a new name for data files requires 'run newfile_par.gra' in the spectra_ini.gra newfile name go issue this command after stopping a scan or macro a few more commands: -------------------- cou read the counters cou time hplot print the graphics display lup line up a single motor in relative units returns to the starting point of the scan lup motorname rel_startposition rel_stoposition n_points time sample angles are: tt, om, phi, chi lupa line up a single motor in abolute units, see lup returns to the starting point of the scan lup motorname abs_startposition abs_stoposition n_points time mo move a motor to an absolute position mo motorname abs_position mva move a motor to an absolute position mva motorname abs_position [relative speed, (0..1)] with option of reduced speed sample angle names are: tt, om, chi, phi mvr move a motor relative to the current position with option of reduced speed sample angle names are: tt, om, chi, phi mvr motor rel_position [relative speed, (0..1)] moom move omega to absolute position moom angle mott move 2theta to absolute position mott angle cvslit1 move vertical center of slit1 chslit1 horizontal center chslit1 position dvslit1 move vertical gap of slit1 dhslit1 horizontal gap dhslit1 position ascan scan a single motor in absolute units ascan motorname abs_startpos abs_stoppos n_points time dscan scan a single motor in relative units (see lup) setlat input of lattice parameters and angles of the sample setlat wait for questions setmode choose the scan mode: bisecting, fixed psi, const. plane, fixed phi setmode 1-4, or wait for questions set_temp changes the setpoint of the temperature controller (like "te") optionally specify a ramp-rate set_temp setpoint [ramp-rate (degree/min)] temp_setup choose a temperature controller, no arguments motor_setup resets all motor parameter, except motor positions ! use only for sartup of experiment ! getpeak writes ssa_prameters plus current temperature into a file getpeak filename getangles writes all current angles into a file getq current q-position some useful hints for the spec user: ------------------------------------ p [argument] in spec corresponds to *=[argument] in Spectra start macros by: run macro_name.gra if ssa is on: ssa_peak_x, ssa_midpoint, ... are assigned to peak maximum, midpoint , ... set_mode ... ASN 1-4 param= scan/slit=(slt#,cx/cy/dx/dy) names of Spectra-menues: ________________________ align aligning the beamline centre centering a reflection ubm ub-matrix related stuff lattice const., const.-plane vectors, etc. scan/q the various scans scan/two scan/om scan/chi scan/phi scan motorname slit1 move the slits 1, 2 and detector slit slit2 slitd mca operate the multi channel analyzer kippa move the kippabsorber