diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-19 11:47:04 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-19 11:47:04 +0200 |
commit | 675032e99a02a1d1157305eb4e200b373a196f2a (patch) | |
tree | 3b70f03675f14da4d3b9051f22523a15cb2470e5 /lib/runner.py | |
parent | 5ed51c2a1e91109477f6c8726e45f1c638c2eb8f (diff) |
Sigrok: Continuous measurement; fix sigrok-cli termination
Diffstat (limited to 'lib/runner.py')
-rw-r--r-- | lib/runner.py | 4 |
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"], ) |