Skip to content

Conversation

@CJ-Wright
Copy link
Contributor

No description provided.

write_pv='XF:28IDC-ES:1{Env:04}T-SP',
tolerance= 3, name='eurotherm')
"""
heater_dict = {(4, 100): 0, (100, 200): 1, (200, 300): 2}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs real values.

if self.auto:
for (low, hi), heater_pos in heater_dict.items():
if low < pos <= hi:
self.heater.set(heater_pos)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should wait on the status object returned here, or AND it with the returned status object

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to push to this branch. I've already exceeded my knowledge of how things work!

@CJ-Wright
Copy link
Contributor Author

Attn: @awalter-bnl @tacaswell @mrakitin @stuartcampbell (Please feel free to rope more people in)

@stuartcampbell
Copy link

What is the purpose of this, and why are we pushing this now on a friday evening.

@CJ-Wright
Copy link
Contributor Author

CJ-Wright commented Jul 13, 2018

This correctly sets the heater level based off the requested temperature. As to why this is happening friday night, well... you know how these things happen.

@stuartcampbell
Copy link

Why are we setting the heater level in ophyd and not in the IOC ? I thought @awalter-bnl and @milinda2014 discussed this and it was going to be done in the IOC so it will be consistent from CSS and bluesky ?

@CJ-Wright
Copy link
Contributor Author

I would love for this to be done in the ioc. What is the time frame on that?

@milinda2014
Copy link

milinda2014 commented Jul 13, 2018 via email

@CJ-Wright
Copy link
Contributor Author

@milinda2014 what do you mean? This is at the ophyd layer?

CJ-Wright pushed a commit to CJ-Wright/profile_collection that referenced this pull request Apr 18, 2019
ENH: Add sample stage stack axes ophyd obj
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

Successfully merging this pull request may close these issues.

4 participants