diff options
Diffstat (limited to 'lib/runner.py')
-rw-r--r-- | lib/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/runner.py b/lib/runner.py index 72d222d..ebb2fb2 100644 --- a/lib/runner.py +++ b/lib/runner.py @@ -208,6 +208,8 @@ class EnergyTraceLogicAnalyzerMonitor(EnergyTraceMonitor): self.sig.forceStopMeasure() time.sleep(0.2) sync_data = self.sig.getData() + # TODO ensure that sync_data.getDict()["timestamps"] is not empty + # (if it is, communication with the LA was broken the entire time) with open(self.log_file, "w") as fp: json.dump(sync_data.getDict(), fp) |