-
Notifications
You must be signed in to change notification settings - Fork 1
Reflectometry View
The reflectometry view combines all the components needing to run most experiments for a reflectometer in one place; it is only available on reflectometers and replaces the scripting view. Below is an example of this view from POLREF.
This screen is split into 3 main areas shown in this schematic rendering.
- Scripting Window: This is a python console which allow you to issue commands to the reflectometry IOC. These commands range in complexity from getting the value of a parameter to a full alignment.
- Plotting Window: This shows plots created using matplotlib. Matplotlib is a python plotting library that can be used from the scripting window; The scan command will draw it plots to here too.
- Reflectometry Window: This is the main view of the reflectometer. It displays where the reflectometer is and allow you to set where it should move to. This view consists of multiple tabs and the next sections will explain their uses and introduce the conventions that are used.
Most screens show lists of parameters. Each of those parameters has a similar form, for example:
1. Real number parameter .. image:: reflectometry/Parameter.png
1. IN Out of beam parameter .. image:: reflectometry/ParameterInOut.png
Each parameter has multiple bits and these are (starting on the left):
- Letters: Indicate some information about the parameter. M means that the parameter is in the current mode (see Operation Mode below)
- Label (in bold): The name of the parameter. Usually the same as the block name.
- RBV Value: The readback, this is the current position of the reflectometer; usually this is relative to the beam.
- SP:RBV Value: The setpoint readback, this where the reflectometer will move to when the move all button is pressed or when another parameter's move button is pressed and this parameter is in the mode. If the setpoint is set then it would move to that value instead.
- SP Box/Button/Drop Down: The setpoint, this is the value that the motor will move to if the parameter move button is pressed or the move all button is pressed.
- Move button: The parameters move button, when pressed it will cause the parameter's setpoint to be applied and the reflectometer to move to the new position. If it is in the mode then all other parameters in the mode will also be set.
Moving
Readback value (RBV) has a green background: an underlying motor for the parameter is moving
Changed/Set
Set point (SP) has a yellow background: the setpoint has been changed but not yet applied to the reflectometer. It will be applied when either the move all button is pressed or the parameters move button is pressed
Not in Position
Whole parameter area has a single red border: this shows that the movement has stopped but that the setpoint and readback do not agree. This could be because the tolerance is too tight (motors can only achieve a certain accuracy) but more likely is that a motor has not stopped at the right place. Check the positions and if necessary repeat the movement. This should be reported to an Instrument scientist as it may indicate a future problem.
Minor Alarm
Readback (RBV) has an orange border (tool tip include the word MINOR): there is a minor error with the parameter, check the value looks sensible. This can be that the underlying motor has hit a limit switch and stopped, which is expected for some parameters.
Major Alarm
Readback (RBV) has an red border (tool tip include the word MAJOR): there is a major error with the parameter. Stop using it until you find out what is wrong.
Invalid
Readback (RBV) has an purple border (tool tip include the word INVALID): the parameter is invalid. This is usually because the underlying motor has stopped responding. Stop using the reflectometer and find out what has gone wrong
Each instrument has a unique front panel but they all have a similar layout. The schematic view shows the main areas of the panel. For peculiarities of instruments see the instrument specific pages
Vertical Slits / Horizontal Slits
The vertical and horizontal slit sections allows the slits to be set in the various direction, the parameters are displayed and set as standard parameters. Note that:
- Several instruments have a beam blocker mode. Beam blocker mode can be set using the drop down. In this mode the user controls the slit positions directly and not the gaps; to help with this the gaps are no longer displayed and the blades are displayed instead.
- POLREF can have the sample horizontal or vertical, the slits controlling the collimation of the beam are always top left (i.e. vertical when the sample is horizontal and horizontal when the sample is vertical).
Important Parameters
The important parameters section contains parameters that control the overall beam path. For instance theta is normally top right (and on some instruments the label is slightly larger). This section may also contain super mirror angles, and whether the beam line is in laser mode. Laser mode is where components, e.g. the monitor are removed from the beam to allow the laser to travel through the system for alignment.
Sample Stack
These parameters control the position of the sample. In general the sample stack is not included in the mode so will not be automatically set when you change the rest of the parameters. E.g. if you change the super mirror angle the sample stack will not track the beam. Instead you must set the parameters or click the move button to make the sample stack move to its new position. The degrees of freedom depend on the beamline common degrees of freedom are:
- Phi: angle in the same plan as theta, this is relative to the incoming beam before theta and so should be set to be the same as theta when you want to maintain the elastic scattering condition.
- Psi/Chi: twist the sample in the other direction for alignment.
- Height: Distance between the beam and the centre of rotation; usually set a 0. This moves the course z stage tracking the beam.
- Height2: Distance from the sample centre of rotation to the sample. This is used to align the sample with the beam. Some instruments do not have a height2 and so should use height for this purpose as well.
- Trans: Distance perpendicular to the beam for the sample
Footprint Calculator
Given parameters about your sample this will estimate the resolution and beam footprint for the current setpoint, setpoint rbv and readback for your sample.
Operation Mode
This allows you to set what mode you want to run the beamline in. A mode consists of two part, initial condition and which parameters are in the mode. Initial conditions can be which components are in the beam (super mirror in or out) and where components are positioned relative to the beam. If the apply mode inits on move is set then these will be reapplied every time the beam line is moved. Which parameters are in the mode determines which parameters will be kept set on beam moves. So if a slit is in the mode as the beam moves its distance to the beam will be kept constant. If the slit was not in the mode it would not move its position unless a new set point was set or the move button is pressed. Common modes are:
- NR: Neutron reflection, no super mirror just reflect from the sample
- PNR: Polarised neutron reflection, this mode uses a super mirror to reflect or polarise the beam
- DISABLED: In this mode the tracking is disabled, components only move relative to their positions when entering the mode (with the exception of theta which will still move the detector or bench). For instance, if you where at 0 theta and 0 supermirror angle and entered DISABLE mode then a move of supermirror angle would just change that angle, a change in a slit offset would still be relative to the 0 position even though the beam has moved. This mode is used during super mirror alignment and when the experiment is outside of the normal parameters for other mode.
Server Status
This reports information, warnings and error that occur in the IOC. If there is a warning or error it should be taken seriously and the fault should be fixed before taking data. The status is cleared before each move.
Known errors that can be ignored (and will be fixed in upcoming releases):
- None
Move All button
This sets all currently changed parameters (in yellow) and move the beamline to these positions. This is different from the smaller move button which will just set the parameter it is associated with.
Apply move inits on mode
When ticket and move all is pressed all mode inits for the mode will set before the move (this will override any you have set) and move to that position.
** Motion light**
This is green when someone is moving on the beamline. Currently it will also flicker if one of the motors encoders is flicking between two values, this often happens when the motor stops between two values; we hope to fix this issue in the future.
** STOP ALL MOTION**
If something is going wrong press this button and all motors will stop their movement.
These are parameters which related to positions in the collimation plane. For example if the beam moves in the vertical plane these will be height offsets from the beam and phi angles to the beam.
These parameter set whether components are active in the beam. For example whether the super mirror is in the beam or not.
These parameters control the slit gaps and positions both horizontally and vertically .
These parameters are those not found on other tabs, they tend to control movement in the non collimation plan, e.g. translation of the sample.
This displays the value of any engineering corrections that are currently being applied to the motors. Engineering corrections are set in the configuration file and allow the instrument scientist to provide corrections to motor positions for better accuracy.
This shows the constants for the current instrument and configuration and can be accessed in scripts if needed.
The error log tab shows a more detailed view of errors reported in the instrument status panel.
This panel is for Instrument Scientists only. It allows them to align the instrument.