mxcubecore.HardwareObjects.MD2Motor#

Classes

MD2Motor(name)

Exceptions

class mxcubecore.HardwareObjects.MD2Motor.MD2Motor(name)[source]#

Bases: AbstractMotor

get_limits()[source]#

Return actuator low and high limits.

Returns:

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

Return type:

(tuple)

get_state()[source]#

Getter for state attribute.

Implementations must query the hardware directly, to ensure current results.

Returns:

Current state.

Return type:

HardwareObjectState

get_value()[source]#

Read the actuator position.

Returns:

Actuator position.

init()[source]#

Initialise tolerance property

stop()[source]#

Gentler (?) alternative to abort.

Override as necessary to implement.

exception mxcubecore.HardwareObjects.MD2Motor.MD2TimeoutError[source]#

Bases: Exception