bluesky / hklpy

Diffractometer computation library with ophyd pseudopositioner support
https://blueskyproject.io/hklpy
BSD 3-Clause "New" or "Revised" License
2 stars 11 forks source link

HOWTO write hkl to EPICS PVs when motors move #253

Open prjemian opened 1 year ago

prjemian commented 1 year ago

Some users like to keep EPICS PVs with the current h, k, l values for other software to use. The other treats these PVs as read-only, bluesky will not be expected to move the diffractometer (or otherwise act) if the other software changes them.

Show how to do this.

prjemian commented 1 year ago

One way is to override the inverse() method, updating the EpicsSignal objects after the pseudos are calculated.

prjemian commented 9 months ago

@rodolakis : Can you comment here?