Skip to content

Commit

Permalink
only cached readings on trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Braun committed Nov 26, 2024
1 parent 61f7a6b commit c071dff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/secop_ophyd/SECoPDevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,7 @@ async def go_or_read_on_busy():
stat_code = module_status["f0"]

if BUSY <= stat_code <= ERROR:
await self.status.get_value(True)
return
return AsyncStatus(awaitable=self.status.get_value(True))

await self.__go_coro(True)

Expand Down

0 comments on commit c071dff

Please sign in to comment.