Skip to content

Commit

Permalink
set acq session status appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
sanahabhimani committed Sep 27, 2023
1 parent 58012a2 commit 09ca591
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions socs/agents/ifm_sbn246_flowmeter/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def acq(self, session, params=None):
"""
pm = Pacemaker(1, quantize=True)
self.take_data = True
session.set_status('running')

while self.take_data:
pm.sleep()

Expand Down

0 comments on commit 09ca591

Please sign in to comment.