You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to set the velocity of an EpicsMotor out of bounds via yield from bps.mv(mtr.velocity, target) it will hang (I assume that the IOC clips the velocity to its valid range).
I think there are 3 things that can fix this and we probably should do all three.
set "sensible" limit on the velocity and acceleration components of EpicsMotor (simplest)
make at least the read and write timeouts runtime mutable (also simple, but has broader consequences)
write a EpicsMotorVelocity(EpicsSignal) class that knows how to dig out VMAX (and add VMAX to EpicsMotor) and use that to check limits (bit of work, but most correct, lets us give better error messages, fail before we touch hardwore to reduce clean up, etc)
The text was updated successfully, but these errors were encountered:
Lifting a comment from slack from @dperl-dls .
If you try to set the velocity of an EpicsMotor out of bounds via
yield from bps.mv(mtr.velocity, target)
it will hang (I assume that the IOC clips the velocity to its valid range).I think there are 3 things that can fix this and we probably should do all three.
The text was updated successfully, but these errors were encountered: