enhance calibration + minor fixes

This commit is contained in:
2022-09-14 09:36:20 +02:00
parent e215f3abea
commit 14260851cf
4 changed files with 233 additions and 185 deletions

View File

@@ -130,6 +130,14 @@ class SmaractMotorTweak(QWidget, Ui_MotorTweak):
def get_rbv(self):
return self._pv_readback.get(use_monitor=False)
def get_val(self):
# return self._motor.get('VAL')
try:
v=self._val
except AttributeError:
self._val=v=self._pv_drive.get()
return v
def is_homed(self):
pend_event()
return 1 == self._pv_is_homed.get(use_monitor=False)