From 5506c7bc287e23836b953d732829b48c997b878a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 22 Dec 2018 16:36:18 +0100 Subject: GUI: Update Adapt to use zmqrc lib --- python/dpdce.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/dpdce.py') diff --git a/python/dpdce.py b/python/dpdce.py index 3b294eb..6c373fd 100755 --- a/python/dpdce.py +++ b/python/dpdce.py @@ -310,7 +310,9 @@ def engine_worker(): txframe_aligned, tx_ts, rxframe_aligned, rx_ts, rx_median, tx_median = meas.get_samples() # Store all settings for pre-distortion, tx and rx - adapt.dump() + utctime = datetime.datetime.utcnow() + dump_file = "adapt_{}.pkl".format(utctime.strftime("%s")) + adapt.dump(os.path.join(plot_path, dump_file)) # Collect logging data off = symbol_align.calc_offset(txframe_aligned) -- cgit v1.2.3