-
Notifications
You must be signed in to change notification settings - Fork 3
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
Extra motors in hklpy #39
Comments
Can check the hklpy code for this. Did not know about the error if
non-geometry positioners are added.
…On Mon, Oct 12, 2020, 7:11 PM Gilberto Fabbris ***@***.***> wrote:
@prjemian <https://github.com/prjemian>: I cannot place any motor other
than the 4C ones in:
https://github.com/APS-4ID-POLAR/ipython-polar/blob/d43b5f0e6781db642209ac00668617cebca8f30e/profile_bluesky/startup/instrument/devices/huber.py#L45
It raises this error:
[image: Screen Shot 2020-10-12 at 6 55 33 PM]
<https://user-images.githubusercontent.com/10960331/95800394-d4e38e80-0cbc-11eb-9a48-9e535baa0c5b.png>
Is this the expected behavior?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#39>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARMUMERQTX5EMBTH3UHY3LSKOLLXANCNFSM4SNWMNCQ>
.
|
This seems to be a feature from ophyd.
The HKL calculation engines expect the pseudo & real positioners to be appropriate to the geometry and calculation engine. This makes it hard to remove the error you report. Have not tested it yet but it seems possible to add a Device as a Component of a Diffractometer subclass. In that Device, one or more motors could be grouped. |
BUT, on further reading of the source code of
|
Similar for
|
Summarizing, your problem was anticipated in ophyd and a solution method is available. Define |
Just tested and confirm this works. Starting with a plain 4-circle simulator:
Fails, crashing the kernel (and session)
Succeeds (with my "sky:m1" motor PV)
But note, |
Currently,
and this is missing the
|
Awesome, this works well. Thanks @prjemian! |
Closed by #40. |
@prjemian: I cannot place any motor other than the 4C ones in:
ipython-polar/profile_bluesky/startup/instrument/devices/huber.py
Line 45 in d43b5f0
It raises this error:
Is this the expected behavior?
The text was updated successfully, but these errors were encountered: