From 04a5fade85091d9cea7ec5c967ae5ed8b7e457d2 Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Wed, 18 Mar 2020 08:28:43 +0100 Subject: [PATCH] Startup --- config/settings.properties | 8 ++++---- script/test/invoking2.py | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/settings.properties b/config/settings.properties index 7350cbe..8504c81 100644 --- a/config/settings.properties +++ b/config/settings.properties @@ -1,5 +1,5 @@ -#Tue Mar 17 10:07:24 CET 2020 -FdaBrowser=true -ScanIndex=5 -geometry=fourcv +#Wed Mar 18 08:28:34 CET 2020 test=1 +geometry=fourcv +ScanIndex=5 +FdaBrowser=true diff --git a/script/test/invoking2.py b/script/test/invoking2.py index 3c95d36..39e47ff 100644 --- a/script/test/invoking2.py +++ b/script/test/invoking2.py @@ -7,7 +7,7 @@ def start_plot(): p = plot([None, None, None,None, None], ["TEY", "TFY", "TEYraw", "TFYraw", "I0"]) -def _update_plots(x, s0, s1, s2, s3, s4): +def _update_plots(p, x, s0, s1, s2, s3, s4): p[0].getSeries(0).setData(x, s0) p[1].getSeries(0).setData(x, s1) p[2].getSeries(0).setData(x, s2) @@ -43,11 +43,11 @@ def update_plot(): tey=map(l, teyr, i0) tfy=map(l, tfyr, i0) - args = [ x, to_array(tey,'d'), - to_array(tfy,'d'), - to_array(teyr,'d'), - to_array(tfyr,'d'), - to_array(i0,'d')] + args = [ p, x, to_array(tey,'d'), + to_array(tfy,'d'), + to_array(teyr,'d'), + to_array(tfyr,'d'), + to_array(i0,'d')] if INVOKE_PLOT_UPDATES: invoke([_update_plots, args]) else: