def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.direction = None
        self.socket = None
        self.enabled = False

        atexit.register(self.close)
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.direction = None
        self.socket = None
        self.enabled = False

        atexit.register(self.close)
示例#3
0
    def __init__(self, name):
        AbstractMotor.__init__(self, name=name)

        self.det_width = None
        self.det_height = None
        self._hwr_detector = None
        self._hwr_energy = None
        self.det_beam = {}
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     Device.__init__(self, name)
     self.predefined_positions = {}
     self.motor = None
     self.delta = 0.001
     self.positions = {}
     self._last_position_name = None
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     Device.__init__(self, name)
     self.predefined_positions = {}
     self.motor = None
     self.delta = 0.001
     self.positions = {}
     self._last_position_name = None
示例#6
0
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.username = None
     self._motor_pos_suffix = None
     self._motor_state_suffix = None
     self._exporter = None
     self._exporter_address = None
     self.motor_position = None
     self.motor_state = None
示例#7
0
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.chan_position = None
        self.chan_state = None
        self.chan_limits = None
        self.cmd_set_position = None
        self.cmd_stop_axis = None
        self.cmd_set_online = None

        self.step_limits = None
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.motor_pos_attr_suffix = "Position"
     self.motor_state_attr_suffix = "State"
     self.translate_state = {
         MicrodiffMotor.NOTINITIALIZED: self.motor_states.NOTINITIALIZED,
         MicrodiffMotor.UNUSABLE: self.motor_states.BUSY,
         MicrodiffMotor.READY: self.motor_states.READY,
         MicrodiffMotor.MOVESTARTED: self.motor_states.MOVESTARTED,
         MicrodiffMotor.MOVING: self.motor_states.MOVING,
         MicrodiffMotor.ONLIMIT: self.motor_states.HIGHLIMIT,
     }
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.interlock_set = None
        self.limits = None

        self.chan_position = None
        self.chan_state = None
        self.chan_min_value = None
        self.chan_max_value = None
        self.chan_interlock_state = None
        self.cmd_stop = None
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.motor_pos_attr_suffix = "Position"
     self.motor_state_attr_suffix = "State"
     self.translate_state = {
         MicrodiffMotor.NOTINITIALIZED: self.motor_states.NOTINITIALIZED,
         MicrodiffMotor.UNUSABLE: self.motor_states.BUSY,
         MicrodiffMotor.READY: self.motor_states.READY,
         MicrodiffMotor.MOVESTARTED: self.motor_states.MOVESTARTED,
         MicrodiffMotor.MOVING: self.motor_states.MOVING,
         MicrodiffMotor.ONLIMIT: self.motor_states.HIGHLIMIT,
     }
示例#11
0
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.stop_command = None
     self.position_channel = None
     self.state_channel = None
     self.taurusname = None
     self.motor_position = 0.0
     self.threshold_default = 0.0018
     self.move_threshold_default = 0.0
     self.polling_default = "events"
     self.limit_upper = None
     self.limit_lower = None
     self.static_limits = (-1e4, 1e4)
     self.limits = (None, None)
     self.motor_state = MotorStates.NOTINITIALIZED
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.stop_command = None
     self.position_channel = None
     self.state_channel = None
     self.taurusname = None
     self.motor_position = 0.0
     self.threshold_default = 0.0018
     self.move_threshold_default = 0.0
     self.polling_default = "events"
     self.limit_upper = None
     self.limit_lower = None
     self.static_limits = (-1e4, 1e4)
     self.limits = (None, None)
     self.motor_state = MotorStates.NOTINITIALIZED
示例#13
0
    def __init__(self, name):
        """
        init
        :param name:
        """
        AbstractMotor.__init__(self, name)

        self.previous_position = None

        self.chan_position = None
        self.chan_state = None
        self.chan_limits = None
        self.cmd_set_position = None
        self.cmd_stop_axis = None
        self.cmd_set_online = None

        self.epsilon = None
        self.username = None
        self.step_limits = None
示例#14
0
    def __init__(self, *args, **kwargs):
        AbstractMotor.__init__(self, name="Resolution")

        # self.get_value = self.getPosition
        self.valid = True
示例#15
0
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.motor_pos_attr_suffix = "Position"
示例#16
0
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self.motor_obj = None
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.motor_name = None
        self.motor_resolution = None
        self.motor_pos_attr_suffix = None
示例#18
0
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.motor_pos_attr_suffix = "Position"
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.__move_task = None
示例#20
0
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.__move_task = None
示例#21
0
    def __init__(self, name):
        AbstractMotor.__init__(self, name)

        self.motor_name = None
        self.motor_resolution = None
        self.motor_pos_attr_suffix = None
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     Device.__init__(self, name)
     self.camera = None
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
示例#24
0
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
示例#25
0
 def __init__(self, name):
     AbstractMotor.__init__(self, name)
     self._wrap_range = None