The accelerator team has published some PVs that tell us about the state of the SC beam. In particular, the offset PV is useful to know when programming the XPM.
These PVs should be added to the screen, and we should make our XPM programming code smart enough to read the PV and program the offset accordingly.
A long term goal would be to either notify users when this has changed, or automatically update the XPM accordingly, but I'm still on the fence about doing this automatically. But that will not likely be part of the PR that closes this issue.
The accelerator team has published some PVs that tell us about the state of the SC beam. In particular, the offset PV is useful to know when programming the XPM.
These PVs should be added to the screen, and we should make our XPM programming code smart enough to read the PV and program the offset accordingly.
A long term goal would be to either notify users when this has changed, or automatically update the XPM accordingly, but I'm still on the fence about doing this automatically. But that will not likely be part of the PR that closes this issue.
The PVs are described in a Confluence page here: https://confluence.slac.stanford.edu/pages/viewpage.action?spaceKey=~rpm&title=PVs+for+currently+running+pattern+metadata