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

special handling for spec2ophyd, MOTPAR with misc_par_1 #196

Closed
prjemian opened this issue Jul 25, 2019 · 0 comments · Fixed by #198
Closed

special handling for spec2ophyd, MOTPAR with misc_par_1 #196

prjemian opened this issue Jul 25, 2019 · 0 comments · Fixed by #198
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

When a MOTPAR specification shows misc_par_1 = sm1, that means to replace the usual motor signal number with the supplied suffix.

Such as:

# Device nodes
VM_EPICS_M1	 = 8ida: 38
VM_EPICS_M1	 = 8idd: 17
VM_EPICS_M1	 = 8idi: 160
# ...
MOT009 = EPICS_M2:2/129   2000  1  2000  200   50  125    0 0x003      tth  tth
MOTPAR:misc_par_1 = sm1

should output

tth = EpicsMotor('8idi:sm1', name='tth')
@prjemian prjemian added the bug label Jul 25, 2019
@prjemian prjemian added this to the milestone-2019-09 milestone Jul 25, 2019
@prjemian prjemian self-assigned this Jul 25, 2019
prjemian added a commit to aps-8id-dys/ipython-8idiuser that referenced this issue Jul 25, 2019
prjemian added a commit that referenced this issue Jul 25, 2019
@prjemian prjemian modified the milestones: milestone-2019-09, 1.1.8 Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant