aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qolab/hardware/scope/rigolds1054z.py3
1 files changed, 1 insertions, 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