mxcubecore.HardwareObjects.mockup.MotorMockupBis

Example xml file: <device class=”MotorMockupBis”>

<username>Detector Distance</username> <actuator_name>dtox</actuator_name> <tolerance>1e-2</tolerance>

</device>

Classes

MotorMockupBis(name)

Motor Motor implementation

class mxcubecore.HardwareObjects.mockup.MotorMockupBis.MotorMockupBis(name)[source]

Bases: AbstractMotor

Motor Motor implementation

get_state_nu()[source]

Get the motor state. :returns: Motor state. :rtype: (enum HardwareObjectState)

get_value()[source]

Read the actuator position.

Returns:

Actuator position.

init()[source]

Initialise the motor