From ff54137f2ebdfb75b3abe10ef5fd6e43bf6fbd0d Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 7 Jan 2022 15:21:15 -0500 Subject: flushing tsdb_ingester --- examples/grab_eit_shapes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() + + -- cgit v1.2.3