From caa06573f323feb9c471629f45127d7b0d51e597 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 20 Dec 2021 14:44:51 -0500 Subject: pid has better description --- qolab/feedback/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'qolab/feedback') 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 -- cgit v1.2.3