1818async def _end_or_abort_run (dae : Dae , save : bool ) -> None :
1919 if save :
2020 logger .info ("ending run" )
21- await dae .controls .end_run .trigger (wait = True , timeout = None )
21+ await dae .controls .end_run .trigger (timeout = None )
2222 logger .info ("run ended" )
2323 else :
2424 logger .info ("aborting run" )
25- await dae .controls .abort_run .trigger (wait = True , timeout = None )
25+ await dae .controls .abort_run .trigger (timeout = None )
2626 logger .info ("run aborted" )
2727
2828
@@ -65,7 +65,7 @@ async def start_counting(self, dae: Dae) -> None:
6565 """
6666 logger .info ("start counting" )
6767 self ._current_period += 1
68- await dae .period_num .set (self ._current_period , wait = True , timeout = None )
68+ await dae .period_num .set (self ._current_period , timeout = None )
6969
7070 # Error if the period change didn't work (e.g. we have exceeded max periods)
7171 await wait_for_value (
@@ -80,7 +80,7 @@ async def start_counting(self, dae: Dae) -> None:
8080 await wait_for_value (dae .period .raw_frames , 0 , timeout = 10 )
8181
8282 logger .info ("resuming run" )
83- await dae .controls .resume_run .trigger (wait = True , timeout = None )
83+ await dae .controls .resume_run .trigger (timeout = None )
8484 await wait_for_value (
8585 dae .run_state ,
8686 lambda v : v in {RunstateEnum .RUNNING , RunstateEnum .WAITING , RunstateEnum .VETOING },
@@ -90,7 +90,7 @@ async def start_counting(self, dae: Dae) -> None:
9090 async def stop_counting (self , dae : Dae ) -> None :
9191 """Stop counting a scan point, by pausing the run."""
9292 logger .info ("stop counting" )
93- await dae .controls .pause_run .trigger (wait = True , timeout = None )
93+ await dae .controls .pause_run .trigger (timeout = None )
9494 await wait_for_value (dae .run_state , RunstateEnum .PAUSED , timeout = 10 )
9595
9696 async def teardown (self , dae : Dae ) -> None :
@@ -133,7 +133,7 @@ def __init__(self, save_run: bool) -> None:
133133 async def start_counting (self , dae : Dae ) -> None :
134134 """Start counting a scan point, by starting a DAE run."""
135135 logger .info ("start counting" )
136- await dae .controls .begin_run .trigger (wait = True , timeout = None )
136+ await dae .controls .begin_run .trigger (timeout = None )
137137 await wait_for_value (
138138 dae .run_state ,
139139 lambda v : v in {RunstateEnum .RUNNING , RunstateEnum .WAITING , RunstateEnum .VETOING },
0 commit comments