Skip to content

Commit

Permalink
set acq session status to running (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanahabhimani authored and mhasself committed Oct 16, 2023
1 parent 8819269 commit 5108aad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions socs/agents/ucsc_radiometer/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def acq(self, session, params=None):
pm = Pacemaker(1 / 60, quantize=False)

self.take_data = True
session.set_status('running')

while self.take_data:
r = requests.get(self.url)
data = r.json()
Expand Down

0 comments on commit 5108aad

Please sign in to comment.