From 559e63c15066cf4d4ca6c18a88d54aefb7d439eb Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 21 Jul 2024 00:42:31 -0400 Subject: updates --- qolab/hardware/scope/rigolds1054z.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py index edca970..802a273 100644 --- a/qolab/hardware/scope/rigolds1054z.py +++ b/qolab/hardware/scope/rigolds1054z.py @@ -282,7 +282,6 @@ class RigolDS1054z(ScopeSCPI): return (trRaw, rawChanCfg) def getTimeTrace(self, rawChanCfg): - # sampleRate = self.getSampleRate() timePerDiv = self.getTimePerDiv() trigDelay = self.getTrigDelay() availableNpnts = rawChanCfg["availableNpnts"] @@ -297,7 +296,7 @@ class RigolDS1054z(ScopeSCPI): t.config["unit"] = "S" t.config["tags"]["TimePerDiv"] = timePerDiv t.config["tags"]["TrigDelay"] = trigDelay - # t.config["tags"]["SampleRate"] = sampleRate + t.config["tags"]["SampleRate"] = int(1/dx) t.config["tags"]["AvailableNPnts"] = availableNpnts t.config["tags"]["Npnts"] = Npnts t.config["tags"]["Sparsing"] = sparsing -- cgit v1.2.3