Add TasMot motors to hipadaba tree and NeXus data files.

nxscripts_common_1.tcl
Set the savecmd and sdsinfo attributes for the TasMot motors in
::nexus::set_sobj_attributes

instdict_specification.tcl
Add tasmot to the sobj_sicstype_list

hipadaba_configuration_common.tcl
Add tasmot to the motor switch statement of ::hdb::sobjadd

util/utility.tcl
Add TasMot to ::utility::set_motor_attributes

r3367 | ffr | 2012-02-13 20:59:50 +1100 (Mon, 13 Feb 2012) | 15 lines
This commit is contained in:
Ferdi Franceschini
2012-02-13 20:59:50 +11:00
committed by Douglas Clowes
parent 3ceb24c5c6
commit a24420bf69
4 changed files with 17 additions and 2 deletions

View File

@@ -484,6 +484,17 @@ proc ::utility::set_motor_attributes {} {
sicslist setatt $m nxalias $m
sicslist setatt $m mutable true
}
foreach m [sicslist type TasMot] {
sicslist setatt $m klass sample
sicslist setatt $m long_name $m
sicslist setatt $m kind hobj
sicslist setatt $m data true
sicslist setatt $m control true
sicslist setatt $m nxsave true
sicslist setatt $m privilege user
sicslist setatt $m nxalias $m
sicslist setatt $m mutable true
}
}
proc ::utility::set_chopper_attributes {} {
foreach ch [lrange [sicslist type chopperadapter] 1 end] {