NSLS-II / nslsii

NSLS-II related devices
BSD 3-Clause "New" or "Revised" License
11 stars 22 forks source link

[CSX] Write Ophyd Device for in/out EPS actuators #6

Open stuwilkins opened 6 years ago

ambarb commented 6 years ago

@tacaswell recommends the TwoButtonShutter found at: https://github.com/NSLS-II-XFP/profile_collection/blob/master/startup/10-motors.py#L8 which lets you do

yield from bp.mv(ssh, 'Open')
yield from bp.mv(sh, 'Close')

See https://github.com/NSLS-II/ophyd/issues/402 for full discussion

stuwilkins commented 6 years ago

@ambarb look at commit https://github.com/NSLS-II/nsls-ii-tools/pull/8/commits/ef7123e76f68e1860a1479c920b54da864e5d3d8 in #8

I added this as an EPSOpenCloseDevice because this is not just a shutter, but a valve and also any popin type device run by the EPS.