aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-06-18 00:06:25 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-06-18 00:06:25 -0400
commiteea1e22064755a3baf0770780c6a24892b3b5ff8 (patch)
tree95898c1f45d9962120665c61c2a609a93389547b /qolab/hardware/scope
parent0230dc92c978c43ad452024047295e4b91943520 (diff)
downloadqolab-eea1e22064755a3baf0770780c6a24892b3b5ff8.tar.gz
qolab-eea1e22064755a3baf0770780c6a24892b3b5ff8.zip
converted SDS2304X to use response2numStr for uniformity
Diffstat (limited to 'qolab/hardware/scope')
-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))