SICS-847: Replace t0_chopper_id with master_chopper_id in Lt0 calculation.
Also added some extra chopper status variables.
This commit is contained in:
@ -50,3 +50,7 @@ if [dict exists $::config_dict disk_chopper name] {
|
|||||||
sicslist setatt t0_chopper_freq klass NXdisk_chopper
|
sicslist setatt t0_chopper_freq klass NXdisk_chopper
|
||||||
sicslist setatt t0_chopper_freq long_name t0_chopper_freq
|
sicslist setatt t0_chopper_freq long_name t0_chopper_freq
|
||||||
sicslist setatt t0_chopper_freq mutable true
|
sicslist setatt t0_chopper_freq mutable true
|
||||||
|
::utility::mkVar master_chopper_id int user master_chopper_id true NXdisk_chopper true true
|
||||||
|
::utility::mkVar master_chopper_freq float user master_chopper_freq true NXdisk_chopper true true
|
||||||
|
::utility::mkVar t0_chopper_phase float user t0_chopper_phase true NXdisk_chopper true true
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ sicslist setatt gs_L2_curtaind long_name L2_curtaind
|
|||||||
|
|
||||||
## Lt0
|
## Lt0
|
||||||
proc Lt0 {} {
|
proc Lt0 {} {
|
||||||
set t0_id [SplitReply [t0_chopper_id]]
|
set t0_id [SplitReply [master_chopper_id]]
|
||||||
switch $t0_id {
|
switch $t0_id {
|
||||||
"1" { set retval 0.0}
|
"1" { set retval 0.0}
|
||||||
"2" { set retval 1100.0}
|
"2" { set retval 1100.0}
|
||||||
|
Reference in New Issue
Block a user