aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
Diffstat (limited to 'qolab')
-rw-r--r--qolab/gui/web.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/qolab/gui/web.py b/qolab/gui/web.py
index 8227567..79a2d3a 100644
--- a/qolab/gui/web.py
+++ b/qolab/gui/web.py
@@ -86,7 +86,13 @@ class QOLTimeLog(jp.Div):
self.update_interval = QOLParamReadOnly(label='UpdateInterval',value=5,a=dcontrols)
self.autosave_interval = QOLParamReadOnly(label='AutoSaveInterval',value=10,a=dcontrols)
self.chart = jp.Matplotlib(a=root)
- self.plot()
+ self.start_task()
+
+ def start_task(self):
+ jp.run_task( self.update_loop() )
+
+ def stop_tasks(self):
+ pass
async def _next_file(self, msg):
print('asked for _next_file')