This commit is contained in:
@@ -34,7 +34,7 @@ class Motor(epics.Motor):
|
|||||||
Device.__init__(self, name, delim='.',
|
Device.__init__(self, name, delim='.',
|
||||||
attrs=self._init_list,
|
attrs=self._init_list,
|
||||||
timeout=timeout)
|
timeout=timeout)
|
||||||
|
print(self._prefix)
|
||||||
# speed up: do not get any data from PVs during construction
|
# speed up: do not get any data from PVs during construction
|
||||||
# # make sure this is really a motor!
|
# # make sure this is really a motor!
|
||||||
# rectype = self.get('RTYP')
|
# rectype = self.get('RTYP')
|
||||||
@@ -44,8 +44,9 @@ class Motor(epics.Motor):
|
|||||||
for key, val in self._extras.items():
|
for key, val in self._extras.items():
|
||||||
pvname = "%s%s" % (name, val)
|
pvname = "%s%s" % (name, val)
|
||||||
self.add_pv(pvname, attr=key)
|
self.add_pv(pvname, attr=key)
|
||||||
|
print(self._prefix)
|
||||||
self._callbacks = {}
|
self._callbacks = {}
|
||||||
|
print(self._prefix)
|
||||||
|
|
||||||
|
|
||||||
# speed up: used by Motor.get_pv() with connect=True, i.e., waiting for connection
|
# speed up: used by Motor.get_pv() with connect=True, i.e., waiting for connection
|
||||||
|
|||||||
Reference in New Issue
Block a user