aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope/_basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware/scope/_basic.py')
-rw-r--r--qolab/hardware/scope/_basic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qolab/hardware/scope/_basic.py b/qolab/hardware/scope/_basic.py
index c5ccd3f..5cb245d 100644
--- a/qolab/hardware/scope/_basic.py
+++ b/qolab/hardware/scope/_basic.py
@@ -114,12 +114,13 @@ class Scope(BasicInstrument):
self.setRun(False) # stop if currently running
self._waitUntillStop()
# to get synchronous channels
- wfVoltage, rawChanCfg = self.getWaveform(
+ wfVoltage = self.getWaveform(
chNum,
availableNpnts=availableNpnts,
maxRequiredPoints=maxRequiredPoints,
decimate=decimate,
)
+ rawChanCfg = wfVoltage.config["tags"]["rawChanConfig"]
t = self.getTimeTrace(rawChanCfg)
tr = TraceXY(f"Ch{chNum}")
tr.x = t