aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope/rigolds1054z.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-21 00:42:31 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-21 00:42:31 -0400
commit559e63c15066cf4d4ca6c18a88d54aefb7d439eb (patch)
tree6bd0a8904812a233f04b815cd0807d28500e3adc /qolab/hardware/scope/rigolds1054z.py
parent4c9a14fa848f2340d297affbeb7f6d5af4b045e3 (diff)
downloadqolab-559e63c15066cf4d4ca6c18a88d54aefb7d439eb.tar.gz
qolab-559e63c15066cf4d4ca6c18a88d54aefb7d439eb.zip
updates
Diffstat (limited to 'qolab/hardware/scope/rigolds1054z.py')
-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