aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 18:21:50 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 18:21:50 -0400
commitf4371ce3253f83775357aa8245fd785336c72f49 (patch)
treebcf4bf2d5a079333c1331465d7e2271c0857d884 /qolab/hardware
parent271a063e97e3a805ec3cf82b47d9ee518ffa4a6f (diff)
downloadqolab-f4371ce3253f83775357aa8245fd785336c72f49.tar.gz
qolab-f4371ce3253f83775357aa8245fd785336c72f49.zip
black formatter
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/daq/__init__.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/qolab/hardware/daq/__init__.py b/qolab/hardware/daq/__init__.py
index 0d3d3a6..828dfb8 100644
--- a/qolab/hardware/daq/__init__.py
+++ b/qolab/hardware/daq/__init__.py
@@ -1,14 +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.update({'AnalogInputsNum', 'AnalogOutputsNum'})
-
+ 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
+ self.AnalogInputsNum = 0
+ self.AnalogOutputsNum = 0