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

Motor preset smart selection shortcut #542

Open
ZLLentz opened this issue Aug 27, 2020 · 0 comments
Open

Motor preset smart selection shortcut #542

ZLLentz opened this issue Aug 27, 2020 · 0 comments

Comments

@ZLLentz
Copy link
Member

ZLLentz commented Aug 27, 2020

Add feature to motor presets to automatically select which preset category to use based on context.

Original card:
motor.preset('in') should dispatch to either add_hutch or add_exp depending on whether its an experiment specific motor (in the x namespace?)

Note from Zach: remember that motor presets in pcdsdevices make no assumption that there are two categories (hutch, exp), in fact you could have one category or seven if you wanted. So we may need to allow hutch-python to pass in its own heuristics for determining which category to use when someone calls the shortcut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant