diff --git a/socs/agents/ucsc_radiometer/agent.py b/socs/agents/ucsc_radiometer/agent.py index 7fdba1746..d70bea534 100644 --- a/socs/agents/ucsc_radiometer/agent.py +++ b/socs/agents/ucsc_radiometer/agent.py @@ -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()