Source code for PythonForTheLab.Model.base_daq

"""
Base DAQ
========
Base class for the DAQ objects. It keeps track of the functions that every new model should implement.
This helps keeping the code organized and to maintain downstream compliancy.

"""

[docs]class DAQBase: def __init__(self, port): self.port = port
[docs] def initialize(self): pass
[docs] def get_voltage(self, channel): pass
[docs] def set_voltage(self, channel, volts): pass
[docs] def finalize(self): pass