Skip to content

Commit

Permalink
Add waits to flushing images
Browse files Browse the repository at this point in the history
  • Loading branch information
WWGolay committed May 25, 2023
1 parent f879fd9 commit 6219d89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operations/iotalib/telrun_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,8 @@ def run_scans(telrun_file):
logging.info('Taking flushing images...')
for i in range(5):
observatory.camera.start_exposure(2, False)
while not observatory.camera.is_exposure_finished():
time.sleep(0.1)

return True # Full telrun file has been processed

Expand Down

0 comments on commit 6219d89

Please sign in to comment.