From 4c9a14fa848f2340d297affbeb7f6d5af4b045e3 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 21 Jul 2024 00:36:47 -0400 Subject: Trig delay to time trace config --- qolab/hardware/scope/rigolds1054z.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qolab/hardware') diff --git a/qolab/hardware/scope/rigolds1054z.py b/qolab/hardware/scope/rigolds1054z.py index d3dbd3c..edca970 100644 --- a/qolab/hardware/scope/rigolds1054z.py +++ b/qolab/hardware/scope/rigolds1054z.py @@ -284,7 +284,7 @@ class RigolDS1054z(ScopeSCPI): def getTimeTrace(self, rawChanCfg): # sampleRate = self.getSampleRate() timePerDiv = self.getTimePerDiv() - # trigDelay = self.getTrigDelay() + trigDelay = self.getTrigDelay() availableNpnts = rawChanCfg["availableNpnts"] sparsing = rawChanCfg["sparsing"] Npnts = rawChanCfg["Npnts"] @@ -296,7 +296,7 @@ class RigolDS1054z(ScopeSCPI): t.values = tval.reshape(tval.size, 1) t.config["unit"] = "S" t.config["tags"]["TimePerDiv"] = timePerDiv - # t.config["tags"]["TrigDelay"] = trigDelay + t.config["tags"]["TrigDelay"] = trigDelay # t.config["tags"]["SampleRate"] = sampleRate t.config["tags"]["AvailableNPnts"] = availableNpnts t.config["tags"]["Npnts"] = Npnts -- cgit v1.2.3