diff options
Diffstat (limited to 'hardware/scope')
-rw-r--r-- | hardware/scope/sds1104x.py | 4 |
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' |