diff options
Diffstat (limited to 'qolab/hardware/daq/_basic.py')
-rw-r--r-- | qolab/hardware/daq/_basic.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qolab/hardware/daq/_basic.py b/qolab/hardware/daq/_basic.py new file mode 100644 index 0000000..0eb0ca8 --- /dev/null +++ b/qolab/hardware/daq/_basic.py @@ -0,0 +1,17 @@ +"""Basic DAQ to be included into hardware aware classes.""" + +from qolab.hardware.basic import BasicInstrument + + +class DAQ(BasicInstrument): + # Minimal set of methods to be implemented by a RFGenerator + def __init__(self, *args, **kwds): + BasicInstrument.__init__(self, *args, **kwds) + self.config["Device type"] = "DAQ" + self.config["Device model"] = "Generic DAQ Without Hardware interface" + self.config["FnamePrefix"] = "daq" + self.deviceProperties.update({"AnalogInputsNum", "AnalogOutputsNum"}) + + # this is device dependent + self.AnalogInputsNum = 0 + self.AnalogOutputsNum = 0 |