enhance calibration + minor fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user