aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/daq/__init__.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-04-02 17:56:47 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-04-02 17:56:47 -0400
commit81ff68030bf288f330fbef6cc339e1859b98fb97 (patch)
tree6ebbdfc989e4756468e4248631ed9f5d864c9fb3 /qolab/hardware/daq/__init__.py
parentec78435b6b6ef54be299cb87a20ac47cbc95b312 (diff)
downloadqolab-81ff68030bf288f330fbef6cc339e1859b98fb97.tar.gz
qolab-81ff68030bf288f330fbef6cc339e1859b98fb97.zip
draft of labjack_ue9 driver
Diffstat (limited to 'qolab/hardware/daq/__init__.py')
-rw-r--r--qolab/hardware/daq/__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/qolab/hardware/daq/__init__.py b/qolab/hardware/daq/__init__.py
new file mode 100644
index 0000000..8828591
--- /dev/null
+++ b/qolab/hardware/daq/__init__.py
@@ -0,0 +1,15 @@
+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 = {'AnalogInputsNum', 'AnalogOutputsNum' }
+
+ # this is device dependent
+ self.AnalogInputsNum=0
+ self.AnalogOutputsNum=0
+