summaryrefslogtreecommitdiffstats
path: root/lab_control/function_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'lab_control/function_generator.py')
-rw-r--r--lab_control/function_generator.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/lab_control/function_generator.py b/lab_control/function_generator.py
new file mode 100644
index 0000000..b7b5266
--- /dev/null
+++ b/lab_control/function_generator.py
@@ -0,0 +1,23 @@
+class FunctionGenerator:
+ FUNCTION_SINE = 0
+ FUNCTION_SQUARE = 1
+ FUNCTION_SAWTOOTH = 2
+
+ def __init__(self):
+ raise Exception("This class should not be instantiated directly, please extend it instead")
+
+ def setOn(self, channel: int) -> None:
+ pass
+
+ def setOff(self, channel: int) -> None:
+ pass
+
+ def setFrequency(self, channel: int, frequency: float) -> None:
+ pass
+
+ def setAmplitude(self, channel: int, amplitude: float) -> None:
+ pass
+
+ def setFunction(self, channel: int, function: int) -> None:
+ pass
+