mxcubecore.HardwareObjects.LNLS.EPICS.EPICSMotor#

Classes

EPICSMotor(name)

class mxcubecore.HardwareObjects.LNLS.EPICS.EPICSMotor.EPICSMotor(name)[source]#

Bases: EPICSActuator, AbstractMotor

abort()[source]#

Immediately terminate HardwareObject action.

Should not happen in state READY.

get_limits()[source]#

Return actuator low and high limits.

Returns:

Two-item tuple (low limit, high limit).

Return type:

(tuple)

get_velocity()[source]#

Read motor velocity. :returns: velocity [unit/s] :rtype: (float)

init()[source]#

Initialise tolerance property

set_velocity(value)[source]#

Set the motor velocity :param velocity: target velocity :type velocity: float

wait_ready(timeout: float | None = None)[source]#

Wait timeout seconds till object is ready.

If timeout is None: wait forever.

Parameters:

timeout (Optional[float], optional) – Timeout (seconds). Defaults to None.