SICS-377 hipadaba_configuration_common.tcl

One typo and forgetting to clear a temporary variable meant that the list of candidates for removal never shrank while pruning

reflectometer/config/motors/sct_batmotor.tcl
The beam attenuator is on axis D not A.  Also provide statemon feedback, "busy" or "idle"

sans/config/velsel/velsel.tcl
Update velocity selector parameters for NVS 43

SICS-374 sans/config/velsel/sct_velsel.tcl
Set velocity selector identifier

script_context_util.tcl
Don't override the "klass' attribute, just make sure that it matches the hdb klass property if it's defined.

event.h and statemon.c
Added statemon BUSY and IDLE events for the scbat because it when it oscillates it's busy doing something.

r2875 | ffr | 2010-01-22 20:41:36 +1100 (Fri, 22 Jan 2010) | 18 lines
This commit is contained in:
Ferdi Franceschini
2010-01-22 20:41:36 +11:00
committed by Douglas Clowes
parent 4a7bfba81e
commit 3a3b6764ee
7 changed files with 60 additions and 21 deletions

View File

@@ -23,15 +23,13 @@ proc ::scobj::hinit_nodeprops {node hpath} {
}
}
proc ::scobj::hinit_scobjprops {scobj hpath} {
foreach {prop propval} [subst {
klass parameter
long_name $scobj
}] {
if {[hpropexists $hpath $prop] == false} {
sicslist setatt $scobj $prop $propval
} else {
sicslist setatt $scobj $prop [hgetpropval $hpath $prop]
}
if {[hpropexists $hpath klass]} {
sicslist setatt $scobj klass [hgetpropval $hpath klass]
}
if {[hpropexists $hpath long_name]} {
sicslist setatt $scobj long_name [hgetpropval $hpath long_name]
} else {
sicslist setatt $scobj long_name $scobj
}
hsetprop $hpath sicsdev $scobj
::scobj::hinit_nodeprops $scobj $hpath