-
Notifications
You must be signed in to change notification settings - Fork 2
Description
As an INTER scientist, I would like the ability to lock parameters in place. Their primary use case are the sample tilt angles for liquid experiments as setting the wrong value could tip a liquid tank and lead to spillage. POLREF said they could also use this functionality for locking their polariser in place.
They said a simple manual "Lock" toggle button / PV would be good enough. They would like this to lock to disable parameter setpoints and indicate this in the OPI, similar to when a component is parked. I suggested we should put this next to each parameter on the "Redefine" tab, as there is space for it and it makes sense to hide this behind manager mode. The scientists were happy with this plan. (Might also make sense to rename this tab "Advanced" or something like that).
Acceptance Criteria
- For each axis parameter, there exists a toggle switch that lets you "lock" this parameter
- You can "lock / unlock" a parameter via a button on the "redefine" tab of the reflectometry OPI. This button is only available in manager mode
- The "Redefine" tab should be renamed (e.g. "Advanced")
- When locked, a parameter does not accept any setpoints (you should be able to do this by setting its
.DISPfield) - When locked, the "move" button for the parameter is removed and replaced with a "Locked" label or symbol
How to Test
verbose instructions for reviewer to test changes
(Add before making a PR)