summaryrefslogtreecommitdiff
path: root/lib/runner.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-10-19 11:47:04 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-10-19 11:47:04 +0200
commit675032e99a02a1d1157305eb4e200b373a196f2a (patch)
tree3b70f03675f14da4d3b9051f22523a15cb2470e5 /lib/runner.py
parent5ed51c2a1e91109477f6c8726e45f1c638c2eb8f (diff)
Sigrok: Continuous measurement; fix sigrok-cli termination
Diffstat (limited to 'lib/runner.py')
-rw-r--r--lib/runner.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/runner.py b/lib/runner.py
index 0f44e97..72d222d 100644
--- a/lib/runner.py
+++ b/lib/runner.py
@@ -189,14 +189,12 @@ class EnergyTraceLogicAnalyzerMonitor(EnergyTraceMonitor):
def __init__(self, port: str, baud: int, callback=None, voltage=3.3):
super().__init__(port=port, baud=baud, callback=callback, voltage=voltage)
- # TODO Max length
- options = {"length": 90, "fake": False, "sample_rate": 1_000_000}
+ options = {"fake": False, "sample_rate": 1_000_000}
self.log_file = "logic_output_log_%s.json" % (time.strftime("%Y%m%d-%H%M%S"))
# Initialization of Interfaces
self.sig = SigrokCLIInterface(
sample_rate=options["sample_rate"],
- sample_count=options["length"] * options["sample_rate"],
fake=options["fake"],
)