aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/scope/sds2304x.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/qolab/hardware/scope/sds2304x.py b/qolab/hardware/scope/sds2304x.py
index fc9b129..f7c5fb8 100644
--- a/qolab/hardware/scope/sds2304x.py
+++ b/qolab/hardware/scope/sds2304x.py
@@ -26,8 +26,6 @@ class SDS2304X(SDS1104X):
# Siglent claims that this model should have same commands as SDS1104X
# however response is different, for example we got '2.00E-08S' instead 'TDIV 2.00E-08S'
# expected reply to query: '2.00E-08S'
- spltStr=re.split('S', rstr)
- numberString = spltStr[0]
- #prefix, numberString, unit = response2numStr(rstr, firstSeparator=None, unit='S')
+ prefix, numberString, unit = response2numStr(rstr, firstSeparator=None, unit='S')
return(float(numberString))