Set long_name on motors.
r1730 | ffr | 2007-03-28 10:25:33 +1000 (Wed, 28 Mar 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
d80bf8306e
commit
1035b72981
@@ -28,6 +28,7 @@ hattach /experiment dataFileName datafile
|
|||||||
|
|
||||||
#--- Motors
|
#--- Motors
|
||||||
foreach {obj name part} $motor_hpath {
|
foreach {obj name part} $motor_hpath {
|
||||||
|
$obj long_name $name
|
||||||
hattach /$instrument/$part $obj $name
|
hattach /$instrument/$part $obj $name
|
||||||
#TODO Only ignore node deletion errors for simulated motors
|
#TODO Only ignore node deletion errors for simulated motors
|
||||||
if [ catch {hdel /$instrument/$part/$name/axis} ] {}
|
if [ catch {hdel /$instrument/$part/$name/axis} ] {}
|
||||||
|
|||||||
Reference in New Issue
Block a user