aboutsummaryrefslogtreecommitdiff
path: root/scope/__init__.py
blob: e6b6573239f8ba31e5e503f1d0534160eabd09b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
Provide basic class to operate scope
Created by Eugeniy E. Mikhailov 2021/11/29
"""
import scpi

class Scope(scpi.SCPIinstr):
    """     
    Do not instantiate directly, use
    rm = pyvisa.ResourceManager()
    Scope(rm.open_resource('TCPIP::192.168.0.2::INSTR'))
    """

    # Minimal set of methods to be implemented by a scope.
    # Should work with minimal arguments list 
    # but might be faster if parameters provided: less IO requests

    def getTrace(self, chNum, availableNpnts=None, maxRequiredPoints=None):
        warnings.warn( 'this function is not implemented' )

from .sds1104x import SDS1104X