summaryrefslogtreecommitdiffstats
path: root/src/lab-control/oscilloscope.py
blob: a09f8a0d269e54774171fe6a4e3da0f0717f29dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Oscilloscope:
    def __init__(self):
        raise Exception("This class should not be instantiated directly, please extend it instead")

    def measureAmplitude(self, channel: int) -> float:
        pass

    def measurePkToPk(self, channel: int) -> float:
        pass

    def measureRMS(self, channel: int) -> float:
        pass

    def measureFrequency(self, channel: int) -> float:
        pass