We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The wm method tries to immediately return, without waiting for the PV to connect.
This is in contrast with the user_readback signal, which implements a timeout.
This lead to a SmarAct motor class erroring out when attempting to use it as part of a script.
Script:
from pcdsdevices.epics_motor import SmarAct motor = SmarAct('LM1K2:MCS2:01:m10', name='tst diag motor') print(motor.wm())
The text was updated successfully, but these errors were encountered:
Pros:
Cons:
Maybe implement similar to:
def wm(): try: return self.position except DisconnectedError: self.wait_for_connection() return self.position
Sorry, something went wrong.
No branches or pull requests
Current Behavior
The wm method tries to immediately return, without waiting for the PV to connect.
Expected Behavior
This is in contrast with the user_readback signal, which implements a timeout.
Context / environment
This lead to a SmarAct motor class erroring out when attempting to use it as part of a script.
Steps to Reproduce (for bugs)
Script:
The text was updated successfully, but these errors were encountered: