Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More informative debug logs on callbacks from monitored EpicsSignal #1188

Open
DominicOram opened this issue Apr 11, 2024 · 0 comments
Open

Comments

@DominicOram
Copy link
Contributor

Given I have an EpicsSignal connected to a PV when I change the PV outside ophyd e.g. through a caput I get a message like the following in the ophyd debug logs:

put(value=-0.7591089346600004, timestamp=1712804635.801214, force=True, metadata={'status': <AlarmStatus.NO_ALARM: 0>, 'severity': <AlarmSeverity.NO_ALARM: 0>, 'precision': 5, 'lower_ctrl_limit': -28.7104, 'upper_ctrl_limit': 16.2896, 'units': 'mrad'})

This is useful but could be improved:

  • The word put here is confusing - it implies it's ophyd doing the putting but actually it's getting an update from EPICS
  • There is no indication of which PV has changed, making debugging a bit of guess work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant