bug fix in heliox::check_set (sct instead fo sct parent)

This commit is contained in:
2022-11-09 13:48:03 +01:00
parent bee02d8fa8
commit 7c491cd49c

View File

@ -79,7 +79,7 @@ proc heliox::check_set {} {
set mainsensor /th/pot
switch [sctval [sct]/mode] {
1 {
nv set [hvali [sct parent]/holdflow]]
nv set [hvali [sct]/holdflow]
th setsorb/channel C
th setsorb 20
th mainloop set
@ -87,7 +87,7 @@ proc heliox::check_set {} {
run tt [sct target]
}
2 {
nv set [hvali [sct parent]/holdflow]]
nv set [hvali [sct]/holdflow]
th setsorb/channel C
th setsorb 20
th mainloop set
@ -96,7 +96,7 @@ proc heliox::check_set {} {
th set [sct target]
}
3 {
nv set [hvali [sct parent]/holdflow]]
nv set [hvali [sct]/holdflow]
th setsorb/channel B
th mainloop setsorb
th set 0
@ -272,7 +272,7 @@ proc heliox::read {} {
th setsorb [silent 0.25 hgetpropval [sct parent] goto]
# switch to lowT and trigger check_mode
hset [sct] 3
nv set [hvali [sct parent]/holdflow]]
nv set [hvali [sct parent]/holdflow]
clientput "the 3He pot [hvali [sct parent]/pot_state]"
}
}