aboutsummaryrefslogtreecommitdiff
path: root/qolab/feedback/__init__.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 14:44:51 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 14:44:51 -0500
commitcaa06573f323feb9c471629f45127d7b0d51e597 (patch)
tree3400eda617a25d76d4515dedcd396564ffb3ac17 /qolab/feedback/__init__.py
parent5ba5beb0c022fbbdca600e253022a1b004f77f7d (diff)
downloadqolab-caa06573f323feb9c471629f45127d7b0d51e597.tar.gz
qolab-caa06573f323feb9c471629f45127d7b0d51e597.zip
pid has better description
Diffstat (limited to 'qolab/feedback/__init__.py')
-rw-r--r--qolab/feedback/__init__.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/qolab/feedback/__init__.py b/qolab/feedback/__init__.py
index af165e7..ee35f62 100644
--- a/qolab/feedback/__init__.py
+++ b/qolab/feedback/__init__.py
@@ -1,7 +1,13 @@
import time
+from qolab.hardware.basic import BasicInstrument
-class PID:
+class PID(BasicInstrument):
def __init__(self, Gp=0, Gi=0, Gd=0, sign=1):
+ super().__init__()
+ self.config['Device model'] = 'Generic Software PID loop'
+ self.config['Device type']='PID loop'
+ self.config['FnamePrefix'] = 'pid'
+ self.deviceProperties = ['Gp', 'Gi', 'Gd', 'Sign' ];
self.Gp = Gp
self.Gi = Gi
self.Gd = Gd