DAQ: TELL no longer has motion enable check
This commit is contained in:
@@ -523,7 +523,6 @@ class AareDAQ:
|
||||
def park_and_dry(self):
|
||||
self.__cfg.try_set_busy(timeout=360)
|
||||
try:
|
||||
self.__devs.tell.check_enable_motion()
|
||||
self.__devs.tell.wait_not_busy()
|
||||
self.__devs.tell.set_in_mount_position(True)
|
||||
self.__devs.tell.unmount(wait=True, timeout=60.0)
|
||||
@@ -591,7 +590,6 @@ class AareDAQ:
|
||||
self.__devs.aerotech_pos = ABR_POS_MOUNT
|
||||
#collimator should be down!!!
|
||||
self.__magnet_position_sensor_check(timeout=360.0)
|
||||
self.__devs.tell.check_enable_motion()
|
||||
self.__devs.tell.wait_not_busy()
|
||||
self.__devs.tell.set_in_mount_position(True)
|
||||
if target is None:
|
||||
@@ -619,7 +617,6 @@ class AareDAQ:
|
||||
self.__cfg.try_set_busy(timeout=360)
|
||||
try:
|
||||
self.__set_state(BeamlineStateEnum.RobotSampleExchange)
|
||||
self.__devs.tell.check_enable_motion()
|
||||
self.__devs.tell.wait_not_busy()
|
||||
self.__devs.tell.set_in_mount_position(True)
|
||||
self.__devs.tell.unmount(wait=True, timeout=360.0)
|
||||
|
||||
@@ -327,8 +327,7 @@ class TellClient:
|
||||
return self.get_robot_status()["powered"]
|
||||
|
||||
def check_enable_motion(self):
|
||||
if not self.is_powered():
|
||||
self.backend.eval("enable_motion()&")
|
||||
return True
|
||||
|
||||
def is_in_cold(self):
|
||||
return self.is_position(POSITION_COLD)
|
||||
|
||||
Reference in New Issue
Block a user