add motors
r3055 | jgn | 2011-02-15 11:49:27 +1100 (Tue, 15 Feb 2011) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
d894dfca56
commit
fb86744209
@@ -94,7 +94,8 @@ proc selbs {bs {bx "UNDEF"} {bz "UNDEF"}} {
|
||||
}
|
||||
}
|
||||
|
||||
set detoff_val [SplitReply [detoff]]
|
||||
# comment out -- Jing
|
||||
#set detoff_val [SplitReply [detoff]]
|
||||
|
||||
if {$bx == "UNDEF" || $bz == "UNDEF"} {
|
||||
statemon start selbs
|
||||
@@ -115,7 +116,8 @@ proc selbs {bs {bx "UNDEF"} {bz "UNDEF"}} {
|
||||
error "beam coordinates must be floats"
|
||||
}
|
||||
}
|
||||
set bsx_target [expr {$bx-$Xbsf+$detoff_val}]
|
||||
# comment out -- Jing
|
||||
#set bsx_target [expr {$bx-$Xbsf+$detoff_val}]
|
||||
set bsz_target [expr {$bz-$Zbsf}]
|
||||
|
||||
statemon start selbs
|
||||
|
||||
Reference in New Issue
Block a user