This commit is contained in:
@@ -30,10 +30,12 @@ class Motor(epics.Motor):
|
||||
|
||||
|
||||
self._prefix = name
|
||||
print("LATER:", getattr(self, '_prefix'), "\n")
|
||||
print("Prefix :", name, "\n")
|
||||
Device.__init__(self, name, delim='.',
|
||||
attrs=self._init_list,
|
||||
timeout=timeout)
|
||||
print("LATER:", getattr(self, '_prefix'), "\n")
|
||||
print("After device :", name, "\n")
|
||||
# speed up: do not get any data from PVs during construction
|
||||
# # make sure this is really a motor!
|
||||
@@ -46,7 +48,7 @@ class Motor(epics.Motor):
|
||||
self.add_pv(pvname, attr=key)
|
||||
print("After add_pv:", name, "\n")
|
||||
self._callbacks = {}
|
||||
print("LATER:", getattr(self, '_prefix'))
|
||||
print("LATER:", getattr(self, '_prefix'), "\n")
|
||||
print("End :", name, "\n")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user