aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 15:21:15 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 15:21:15 -0500
commitff54137f2ebdfb75b3abe10ef5fd6e43bf6fbd0d (patch)
tree77a42483e705f6615ccf2d1e4ec6096ac6d2f6ef /examples
parentaf2de47e6dce71347ff9f2e59a21479f789e2f6c (diff)
downloadqolab-ff54137f2ebdfb75b3abe10ef5fd6e43bf6fbd0d.tar.gz
qolab-ff54137f2ebdfb75b3abe10ef5fd6e43bf6fbd0d.zip
flushing tsdb_ingester
Diffstat (limited to 'examples')
-rw-r--r--examples/grab_eit_shapes.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/grab_eit_shapes.py b/examples/grab_eit_shapes.py
index b05769e..7923099 100644
--- a/examples/grab_eit_shapes.py
+++ b/examples/grab_eit_shapes.py
@@ -150,8 +150,12 @@ if __name__ == '__main__':
# scope_mon.setChanVoltsPerDiv(2, 0.002)
# scope_mon.setChanVoltageOffset(2, -0.0726)
- # if we want to save new set of traces repeat this two commands
scope_fdbk.config['tags'] = {}
+
+ # if we want to save new set of traces repeat this two commands
scope_fdbk.config['tags']['apparatus']=getConfig(apparatus)
scope_fdbk.save( maxRequiredPoints=1000 )
+ tsdb_ingester.commit()
+
+