diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-01 11:26:39 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-01 11:26:39 -0500 |
commit | 9f1c2db9d296dc17f86e1f22634a14063b1d0a72 (patch) | |
tree | 1b50709ed0ef78888bcb61e2b0e97ec6916589a8 /hardware/scope/sds1104x.py | |
parent | 642c6f937a2826cb92b8f83b5b61a4c17d551e2c (diff) | |
download | qolab-9f1c2db9d296dc17f86e1f22634a14063b1d0a72.tar.gz qolab-9f1c2db9d296dc17f86e1f22634a14063b1d0a72.zip |
improve hardware definitions
Diffstat (limited to 'hardware/scope/sds1104x.py')
-rw-r--r-- | hardware/scope/sds1104x.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hardware/scope/sds1104x.py b/hardware/scope/sds1104x.py index 53e945a..23ac1be 100644 --- a/hardware/scope/sds1104x.py +++ b/hardware/scope/sds1104x.py @@ -3,19 +3,19 @@ Provide basic class to operate scope Created by Eugeniy E. Mikhailov 2021/11/29 """ -from hardware.scope import Scope +from hardware.scope import ScopeSCPI from datatrace import DataTrace import re import numpy as np -class SDS1104X(Scope): +class SDS1104X(ScopeSCPI): """ Siglent SDS1104x scope """ vertDivOnScreen = 10 horizDivOnScreen = 14 - numberOfChannels = 4 def __init__(self, resource): super().__init__(resource) self.resource.read_termination='\n' + self.numberOfChannels = 4 self.maxRequiredPoints = 1000; # desired number of points per channel, can return twice more def response2numStr(self, strIn, firstSeparator=None, unit=None): |