diff options
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/feedback/__init__.py | 8 |
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 |