bug fix in heliox::check_set (sct instead fo sct parent)
This commit is contained in:
@ -79,7 +79,7 @@ proc heliox::check_set {} {
|
|||||||
set mainsensor /th/pot
|
set mainsensor /th/pot
|
||||||
switch [sctval [sct]/mode] {
|
switch [sctval [sct]/mode] {
|
||||||
1 {
|
1 {
|
||||||
nv set [hvali [sct parent]/holdflow]]
|
nv set [hvali [sct]/holdflow]
|
||||||
th setsorb/channel C
|
th setsorb/channel C
|
||||||
th setsorb 20
|
th setsorb 20
|
||||||
th mainloop set
|
th mainloop set
|
||||||
@ -87,7 +87,7 @@ proc heliox::check_set {} {
|
|||||||
run tt [sct target]
|
run tt [sct target]
|
||||||
}
|
}
|
||||||
2 {
|
2 {
|
||||||
nv set [hvali [sct parent]/holdflow]]
|
nv set [hvali [sct]/holdflow]
|
||||||
th setsorb/channel C
|
th setsorb/channel C
|
||||||
th setsorb 20
|
th setsorb 20
|
||||||
th mainloop set
|
th mainloop set
|
||||||
@ -96,7 +96,7 @@ proc heliox::check_set {} {
|
|||||||
th set [sct target]
|
th set [sct target]
|
||||||
}
|
}
|
||||||
3 {
|
3 {
|
||||||
nv set [hvali [sct parent]/holdflow]]
|
nv set [hvali [sct]/holdflow]
|
||||||
th setsorb/channel B
|
th setsorb/channel B
|
||||||
th mainloop setsorb
|
th mainloop setsorb
|
||||||
th set 0
|
th set 0
|
||||||
@ -272,7 +272,7 @@ proc heliox::read {} {
|
|||||||
th setsorb [silent 0.25 hgetpropval [sct parent] goto]
|
th setsorb [silent 0.25 hgetpropval [sct parent] goto]
|
||||||
# switch to lowT and trigger check_mode
|
# switch to lowT and trigger check_mode
|
||||||
hset [sct] 3
|
hset [sct] 3
|
||||||
nv set [hvali [sct parent]/holdflow]]
|
nv set [hvali [sct parent]/holdflow]
|
||||||
clientput "the 3He pot [hvali [sct parent]/pot_state]"
|
clientput "the 3He pot [hvali [sct parent]/pot_state]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user