towards epicsSwissmxSim.py ...
This commit is contained in:
@@ -324,7 +324,13 @@ class MotorTweak(QWidget, Ui_MotorTweak):
|
||||
short_name=self.short_name,
|
||||
precision=m.PREC,
|
||||
units=m.units)
|
||||
self.label.setText(target[self._label_style].format(rbv=m.readback))
|
||||
try:
|
||||
self.label.setText(target[self._label_style].format(rbv=m.readback))
|
||||
except ValueError as e:
|
||||
_log.error(e)
|
||||
print(self._label_style)
|
||||
print(m.readback)
|
||||
print(m)
|
||||
|
||||
def paintEvent(self, e):
|
||||
qp = QPainter()
|
||||
|
||||
Reference in New Issue
Block a user