forked from M-Labs/thermostat
ctrl_panel: Keep i_set visible when PID engaged
Since i_set is also plotted, we would want to see its precise value too.
This commit is contained in:
parent
8b68ff7652
commit
3144ea2c9d
@ -54,7 +54,7 @@ class CtrlPanel(QObject):
|
|||||||
param.child(*handle[0]).sigActivated.connect(handle[1])
|
param.child(*handle[0]).sigActivated.connect(handle[1])
|
||||||
|
|
||||||
param.child("output", "control_method").sigValueChanged.connect(
|
param.child("output", "control_method").sigValueChanged.connect(
|
||||||
lambda param, value: param.child("i_set").show(
|
lambda param, value: param.child("i_set").setWritable(
|
||||||
value == "constant_current"
|
value == "constant_current"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user