Update slic/utils/hastyepics.py
Run CI Tests / test (push) Successful in 1m9s

This commit is contained in:
2025-08-03 18:34:32 +02:00
parent 88089e1f37
commit ae599cb514
+3 -2
View File
@@ -34,7 +34,7 @@ class Motor(epics.Motor):
Device.__init__(self, name, delim='.',
attrs=self._init_list,
timeout=timeout)
print(self._prefix)
# speed up: do not get any data from PVs during construction
# # make sure this is really a motor!
# rectype = self.get('RTYP')
@@ -44,8 +44,9 @@ class Motor(epics.Motor):
for key, val in self._extras.items():
pvname = "%s%s" % (name, val)
self.add_pv(pvname, attr=key)
print(self._prefix)
self._callbacks = {}
print(self._prefix)
# speed up: used by Motor.get_pv() with connect=True, i.e., waiting for connection