mxcubecore.HardwareObjects.TangoMotor#

TangoMotor class defines motor in the Tango control system (used and tested in DESY/P11

Classes

TangoMotor(name)

TangoMotor class defines motor in the Tango control system

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

Bases: AbstractMotor

TangoMotor class defines motor in the Tango control system

abort()[source]#

Stops motor movement

connectNotify(signal)[source]#
Parameters:

signal (signal) – signal

get_motor_mnemonic()[source]#

Returns motor mnemonic :return:

get_value()[source]#

Read the actuator position. :returns: Actuator position. :rtype: value

get_velocity()[source]#

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

init()[source]#

Connects to all Tango channels and commands

set_velocity(value)[source]#

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

update_value(value=None)[source]#

Updates motor position