+6
-2
@@ -12,9 +12,13 @@ class PV(epics.PV):
|
||||
|
||||
###### AVANNNNNT
|
||||
kwargs["wait"] = True # enforce wait to show progress
|
||||
|
||||
kwargs["timeout"] = 2.0 # Explicit timeout
|
||||
|
||||
if not show_progress:
|
||||
return super().put(value, *args, **kwargs)
|
||||
# Simple put with verification
|
||||
result = super().put(value, *args, **kwargs)
|
||||
time.sleep(0.1) # Small safety delay
|
||||
return result
|
||||
|
||||
start = self.get()
|
||||
stop = value
|
||||
|
||||
Reference in New Issue
Block a user