Scangui

../../_images/scangui_1.png

How to start it:

  • In menubar: “MAXIV Scangui”

  • In terminal: “scangui”

What does it do?

The scangui is a general purpose scanning tool. It is used for scanning motors or combined motions(such as beamline energy).

When do I need to use it

  • Making a RIXSmap

  • Finding the sample by scanning the manipulator

  • Setting up sequences to automatically measure XAS or RIXSmaps at different sample positions.

Making an XAS-measurement

  1. Open up the Scangui

  2. Go to the tab “Experiment Config”, make sure the correct measurementgroup is selected. If it is correct the skip to step 5.

  3. Click the radiobutton “Edit Mode”

  4. Click on the drop-down menu next to “Active measurement Group”, select e.g. “XAS”

  5. Click “Apply” in the bottom right corner.

  6. Now you can go back to the tab “Scanplotter”

  7. Go to the tab “Basic executor”

  8. Set the moveable to: “beamline_energy”

  9. Set Start position “400” (eV), and stop position 402 (eV)

  10. Choose the number of steps for the scan, either by writing the number of intervals (which is 1 less than steps), or by writing the stepsize “0.1” (eV)

  11. Click “Start” to run it

  12. In the scanplotter, you have to select the correct x and y axis, both for the “Livedata” and for the scan loaded from file “entry1337”

Sequencer tab (advanced measurement mode)

It is possible to automate measuments using custom macros. In the sequencer tab one can load, modify, save and run such macros using a graphical interface. (The sequencer macro is saved as an *.xml file, and can also be modifed in a text editor).

Macro

Description

Optional

Save output

ascan

Scan in Basic executor

mesh

Raster scan two motors, data will be saved in a single entry

bidirectional = True to snakescan

Single entry

a2scan

Scan along a line across two dims defined by the start and endpoints for the two motors

a

seqmotion

Outer loop scan, will NOT generate an entry

rixsaqstart

will trigger rixsaq to initate a scan

rixsaqstop

will trigger rixsaq to stop a scan

mv

move a single motor to a specified value

Nested scans

../../_images/scangui_seqencer_1.png

An example sequence which scans the slit from 20um to 100um and makes a XAS-measurement at every slitopening.

Making a raster scan of the sample

A mesh scan or raster scan can be used to find the sample. You need to select two motors or pseudo motors, for example a_mp1_x and a_mp1_y (x and y manipulator axii), and similarly as to the regual scan you, you also need to specify the start and stop for the two motors.

  1. Open up the Scangui

  2. Go to the tab “Experiment Config”, make sure the correct measurementgroup is selected. If it is correct the skip to step 5.

  3. Click the radiobutton “Edit Mode”

  4. Click on the drop-down menu next to “Active measurement Group”, select e.g. “XAS”

  5. Click “Apply” in the bottom right corner.

  6. Now you can go back to the tab “Scanplotter”

  7. Go to the tab “Sequencer”

  8. In the drop-down menu , select mesh and press +

  9. Set the 1st moveable to: “a_mp1_x”

  10. Set the 2nd moveable to: “a_mp1_y”

  11. Set Start position and stop position for the two motors to appropoiate values

  12. Choose the number of steps for the scan by writing the number of intervals (which is 1 less than steps)

  13. Click “Start” to run it

  14. In the scanplotter, you have to select the correct x and y axis, both for the “Livedata” and for the scan loaded from file “entry1337”

Gitlab link: https://gitlab.maxiv.lu.se/kits-maxiv/app-maxiv-scangui3