BCDA-APS / use_bluesky

Tools to help APS use the Bluesky Framework (https://blueskyproject.io/)
8 stars 3 forks source link

pre-scan limits check for all movables #3

Closed prjemian closed 7 years ago

prjemian commented 7 years ago

There should be software in place that checks limits on all movables before any plan (a.k.a. scan) is run. High and low limits are in place for all EPICS motors. This is easy to implement for movables where the move trajectory is straightforward (such as no intermediate obstructions that must be avoided). For situations where the limitations are dynamic, it should be possible to provide capability to override the standard handling with custom code for the specific situation.

prjemian commented 7 years ago

The ophyd.PVPositioner class has a check_value(pos) method to check that pos is within limits.