+4
-2
@@ -9,11 +9,13 @@ import time
|
||||
class PV(epics.PV):
|
||||
|
||||
def put(self, value, *args, show_progress=False, **kwargs):
|
||||
|
||||
###### AVANNNNNT
|
||||
kwargs["wait"] = True # enforce wait to show progress
|
||||
|
||||
if not show_progress:
|
||||
return super().put(value, *args, **kwargs)
|
||||
|
||||
kwargs["wait"] = True # enforce wait to show progress
|
||||
|
||||
start = self.get()
|
||||
stop = value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user