Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


IDL commanddescriptionmotion
s_stage_x/z, 1move rotation stage in x/z-direction by 1 mmrelative [ mm ]
s_pos_x/y/z, 1move sample stage in x/y/z-direction by 1 mm (caution with directions: stage mount on rotation axis)relative [ mm ]
s_pos_lateral, 1move sample stage in x-direction by 1 mm, regardless of position of rotation axisrelative [ mm ]
s_angle, 90rotate sample around z axisrelative [ deg ]


IDL commanddescriptionmotion
goto_s_stage_x/z, 1move rotation stage in x/z-direction to 1 mmabsolute [ mm ]
goto_s_pos_x/y/z, 1move sample stage in x/y/z-direction to 1  mmabsolute [ mm ]
goto_s_angle, 90rotate sample around z axis to 90° (alias command: s_rot)absolute [ deg ]


IDL commanddescription
pos_s_stage_x/z()return current rotation stage in x/z position
pos_s_pos_x/y/z()return current sample stage in x/y /z position
pos_s_angle()return current rotation stage angle

Predefined positions

IDL commanddescription
s_inmove sample to "in" position

move sample to "out" position

s_changemove sample to "change" position
set_s_in_pos, 0set s_in position to 0.0 mm
set_s_out_dist, 10set s_out distance to 10.0 mm

Magnification sets


Detector positioning

IDL commanddescriptionmotion
pressure_onenable detector y movement
o_ccd_dist, 5move detector in y direction

relative [ mm ]

pressure_offdisable detector movement

Slit positioning


rx, rdx, rz and rdz can be concatenated in one command (e.g. slit_oh, rx=1, rz=-2, rdx=0.5, rdz=0.5)

Make images

IDL commanddescription
i=quick(100) & tv_quick, i & draw_box, [ x1, x2 ,z1 ,z2 ]make an image & show image & draw box
a=quick_abs(100) & tv_quick, a & draw_box, [ x1, x2 ,z1 ,z2 ]make an absorption image & show image & draw box
write_tiff, '/gpfs/current/raw/test.tif', i, /SHORTsave i as 16-bit tiff in /gpfs/...


FunctionalityIDL syntax
Chaining commandscommand_1 & command_2 & ...
absolute movementgoto_motor, position
relative movementmotor, position
current motor positionpos_motor()

Beamshutter and Interlock control