Add i_set

This commit is contained in:
atse 2023-07-20 13:48:10 +08:00
parent 9803a2d12b
commit 863352d620
1 changed files with 2 additions and 0 deletions

View File

@ -293,6 +293,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
channel = settings["channel"]
with QSignalBlocker(params[channel]):
params[channel].child("Temperature PID").setValue(settings["pid_engaged"])
if not settings["pid_engaged"]:
params[channel].child("Constant Current").setValue(settings["i_set"])
@pyqtSlot(list)
def update_thermistor(self, sh_data):