aboutsummaryrefslogtreecommitdiff
path: root/hardware/scope/sds1104x.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-01 23:23:06 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-01 23:23:06 -0500
commit5a3818857cf8b9ce7aa9ca66fef40e5cfa45f0ee (patch)
tree5847bf8c727ec9ff17fbde084f4fa6f628ecad55 /hardware/scope/sds1104x.py
parent9f1c2db9d296dc17f86e1f22634a14063b1d0a72 (diff)
downloadqolab-5a3818857cf8b9ce7aa9ca66fef40e5cfa45f0ee.tar.gz
qolab-5a3818857cf8b9ce7aa9ca66fef40e5cfa45f0ee.zip
redo DataTrace naming
Diffstat (limited to 'hardware/scope/sds1104x.py')
-rw-r--r--hardware/scope/sds1104x.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardware/scope/sds1104x.py b/hardware/scope/sds1104x.py
index 23ac1be..b1bbc11 100644
--- a/hardware/scope/sds1104x.py
+++ b/hardware/scope/sds1104x.py
@@ -4,7 +4,7 @@ Created by Eugeniy E. Mikhailov 2021/11/29
"""
from hardware.scope import ScopeSCPI
-from datatrace import DataTrace
+from data.trace import Trace
import re
import numpy as np
@@ -154,7 +154,7 @@ class SDS1104X(ScopeSCPI):
def getTrace(self, chNum, availableNpnts=None, maxRequiredPoints=None):
wfVoltage, availableNpnts = self.getWaveform( chNum, availableNpnts=availableNpnts, maxRequiredPoints=maxRequiredPoints)
t = self.getTimeTrace(availableNpnts=availableNpnts, maxRequiredPoints=maxRequiredPoints)
- tr = DataTrace( f'Ch{chNum}' )
+ tr = Trace( f'Ch{chNum}' )
tr.xlabel = 'Time'
tr.xunit = 'S'
tr.ylabel = 'Voltage'