Scangui
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
Open up the Scangui
Go to the tab “Experiment Config”, make sure the correct measurementgroup is selected. If it is correct the skip to step 5.
Click the radiobutton “Edit Mode”
Click on the drop-down menu next to “Active measurement Group”, select e.g. “XAS”
Click “Apply” in the bottom right corner.
Now you can go back to the tab “Scanplotter”
Go to the tab “Basic executor”
Set the moveable to: “beamline_energy”
Set Start position “400” (eV), and stop position 402 (eV)
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)
Click “Start” to run it
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
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.
Open up the Scangui
Go to the tab “Experiment Config”, make sure the correct measurementgroup is selected. If it is correct the skip to step 5.
Click the radiobutton “Edit Mode”
Click on the drop-down menu next to “Active measurement Group”, select e.g. “XAS”
Click “Apply” in the bottom right corner.
Now you can go back to the tab “Scanplotter”
Go to the tab “Sequencer”
In the drop-down menu , select mesh and press +
Set the 1st moveable to: “a_mp1_x”
Set the 2nd moveable to: “a_mp1_y”
Set Start position and stop position for the two motors to appropoiate values
Choose the number of steps for the scan by writing the number of intervals (which is 1 less than steps)
Click “Start” to run it
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