Regen 3He SCT driver
This commit is contained in:
@ -172,6 +172,9 @@ proc ::scobj::he3_polanal::setValue {tc_root nextState cmd_str} {
|
||||
set cmd "${cmd_str}${par}"
|
||||
# setValue hook code starts
|
||||
set cmd "${cmd_str}"
|
||||
if {[string equal -nocase [sct target] "refresh"]} {
|
||||
set cmd "${cmd_str}"
|
||||
}
|
||||
if {[string equal -nocase [sct target] "dn"]} {
|
||||
set cmd "${cmd_str} -"
|
||||
}
|
||||
@ -300,7 +303,7 @@ proc ::scobj::he3_polanal::mkDriver { sct_controller name device_class simulatio
|
||||
hsetprop ${scobj_hpath}/analyser/spin nxalias "${name}_analyser_spin"
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/analyser/spin 10
|
||||
${sct_controller} poll ${scobj_hpath}/analyser/spin 1100
|
||||
${sct_controller} write ${scobj_hpath}/analyser/spin
|
||||
} else {
|
||||
::scobj::he3_polanal::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for he3_polanal"
|
||||
@ -388,7 +391,7 @@ proc ::scobj::he3_polanal::mkDriver { sct_controller name device_class simulatio
|
||||
hsetprop ${scobj_hpath}/polariser/spin nxalias "${name}_polariser_spin"
|
||||
|
||||
if {[string equal -nocase "${simulation_flag}" "false"]} {
|
||||
${sct_controller} poll ${scobj_hpath}/polariser/spin 10
|
||||
${sct_controller} poll ${scobj_hpath}/polariser/spin 900
|
||||
${sct_controller} write ${scobj_hpath}/polariser/spin
|
||||
} else {
|
||||
::scobj::he3_polanal::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for he3_polanal"
|
||||
|
Reference in New Issue
Block a user