-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
For alignment of a reflectometry beamline, users should be able to redefine the zero position on a motor via the top-level beamline parameters (e.g. writing the new zero position to a PARAM:<name>:SETZEROAT PV). Unlike zeroing it at the motor level directly, this allows taking engineering corrections into account.
Therefore if I am at the zero position when I redfine the position my readback will instantly read back 0.
Requires:
Acceptance Criteria
- Setting an offset parameter changes the sp and sp:rbv by the value given
- I can zero a beam offset parameter. Works for:
- For detector offset
- For sample height offset
- For slit height offset (this means zeroing both jaw blades to correct place)
- I can set a slit gap parameter zero (both blades are set)
- I can set an angle offset parameter to zero
- Close IOC Test Framework: Launch without running tests #4499
- Log line must be printed to show definition from and to
Implementation Detail
- Allow the motor to set zero so it is available to all motors. This should be a sequence record. With a button which does it.