Page tree

Versions Compared

Key

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

Beamline Shutters and Interlock

Close Beamline Shutter

Panel
borderColororange
titleBGColororange
titleshclose
  • Closes the beamline shutter.
  • Syntax: shclose <area>
    • Optional Parameters:
      • <area> == The area of which you want to close the shutter. Available areas are: OH, EH1, and EH2.
Info

Since <area> is an optional parameter one does not have to provide the area, the software will figure this one out by itself.


Info

Please be patient. The shutters are slow devices. Depending on the state of other shutters it might take a while (10 seconds) until you get a confirmation that the shutter is actually closed.


Open Beamline Shutter

Panel
borderColororange
titleBGColororange
titleshopen
  • Opens the beamline shutter when allowed.
  • Syntax: shopen <area>
    • Optional Parameters:
      • <area> == The area of which you want to open the shutter. Available areas are: OH, EH1, and EH2.
Info

Since <area> is an optional parameter one does not have to provide the area, the software will figure this one out by itself.


Info

Please be patient. The shutters are slow devices. Depending on the state of other shutters it might take a while (10 seconds) until you get a confirmation that the shutter is open.


Beamline Shutter Status

Panel
borderColororange
titleBGColororange
titleshstate
  • Returns the beamline shutter state.
  • Syntax: shstate <area>
    • Optional Parameters:
      • <area> == The area of which you want to close the shutter. Available areas are: OH, EH1, and EH2.
Info

Since <area> is an optional parameter one does not have to provide the area, the software will figure this one out by itself.


Open Experimental Hutch

Panel
borderColororange
titleBGColororange
titleopenhutch
  • Opens the experimental hutch.
  • Syntax: openhutch <area>
    • Optional Parameters:
      • <area> == The area which you want to open. Available areas are: OH, EH1, and EH2.
Info

Since <area> is an optional parameter one does not have to provide the area, the software will figure this one out by itself.


Info

Shutters will be closes automatically if needed.

Please be patient. The shutters are slow devices. Depending on the state of other shutters it might take a while (10 seconds) until you get a confirmation that the interlock is broken.


Motor Stages

Current Position and Limits

Panel
borderColororange
titleBGColororange
titlewm
  • Prints the current position and the higher and lower limit of the stage
  • Syntax: wm <stage_name>
    • <stage_name> == Name of the stage to move.
  • Examples:

    • Code Block
      titleInput
      wm samy


      Code Block
      titleOutput
      	               samy
      User               
       High               2.0
       Current            0.0
       Low                0.0

      The current position is 0.0. The upper limit is 2.0 and the lower limit is 0.0.

    • Get the information on multiple stages at once.

      Code Block
      titleInput
      wm samx samy samz


      Code Block
      titleOutput
                    exp_dmy01      exp_dmy02      exp_dmy03
      User                                     
       High               2.0           10.0            1.0
       Current            0.0           0.35           -0.1
       Low                0.0            1.0           -1.0



Absolute Movements

Panel
borderColororange
titleBGColororange
titlemv
  • Moves a stage to an absolute coordinate
  • Syntax: mv <stage_name> <coordinate>
    • <stage_name> == Name of the stage to move.
    • <coordinate> == Coordinate where to move to.
  • Examples:
    • Move "samy" to 10

      Code Block
      mv samy 10 


    • Move "samy" to 10 and "samz" to 4

      Code Block
      mv samy 10 samz 4



Panel
borderColororange
titleBGColororange
titleumv
  • Moves a stage to an absolute coordinate and prints the current location to the terminal
  • Syntax: umv <stage_name> <coordinate>
    • <stage_name> == Name of the stage to move.
    • <coordinate> == Coordinate where to move to.
  • Examples:
    • Move "samy" to 10

      Code Block
      umv samy 10 


    • Move "samy" to 10 and "samz" to 4

      Code Block
      umv samy 10 samz 4


Relative Movements

Panel
borderColororange
titleBGColororange
titlemvr
  • Moves a stage to a relative coordinate
  • Syntax: mvr <stage_name> <coordinate>
    • <stage_name> == Name of the stage to move.
    • <coordinate> == Coordinate where to move to.
  • Examples:
    • Move "samy" by 10

      Code Block
      mvr samy 10 


    • Move "samy" by 10 and "samz" by 4

      Code Block
      mvr samy 10 samz 4



Panel
borderColororange
titleBGColororange
titleumvr
  • Moves a stage to a relative coordinate and prints the current location to the terminal
  • Syntax: umvr <stage_name> <coordinate>
    • <stage_name> == Name of the stage to move.
    • <coordinate> == Coordinate where to move to.
  • Examples:
    • Move "samy" by 10

      Code Block
      umvr samy 10 


    • Move "samy" by 10 and "samz" by 4

      Code Block
      umvr samy 10 samz 4



Panel
borderColororange
titleBGColororange
titletw
  • Tweaks the position of a stage by the give step size. The stage will not move after the first enter but will enter an interactive mode. In interactive mode:
    • Each time one presses "enter", the stage moves by the selective relative coordinate.
    • One can change the direction by typing "+" or "-"
    • One can change the relative coordinate by typing the coordinate.
    • Exit interactive mode, type anything else, e.g. "q".
  • Syntax: tw <stage_name> <step_size>
    • <stage_name> == Name of the stage to move.
    • <step_size> == Step size.
  • Examples:
    • Tweak "samy" by 0.005

      Code Block
      tw samy 0.005 

      Each time you you press enter after executing the command the stage will move.

    • Change the direction without changing the step size.

      Code Block
      -


    • Change the step size

      Code Block
      -0.01


    • Exit interactive mode

      Code Block
      q




Panel
borderColorblue
titleColorwhite
titleBGColorblue
titleContent

Table of Contents