add Pelican
r3108 | jgn | 2011-04-20 12:29:55 +1000 (Wed, 20 Apr 2011) | 1 line
This commit is contained in:
committed by
Douglas Clowes
parent
1fa3d21486
commit
22b22ffa25
@@ -0,0 +1,4 @@
|
||||
# Forbid detector motion when the detector voltage is on
|
||||
# comment out -- Jing
|
||||
#forbid {-inf inf} for det when dhv1 in {800 inf}
|
||||
#forbid {-inf inf} for detoff when dhv1 in {800 inf}
|
||||
@@ -0,0 +1,14 @@
|
||||
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
||||
|
||||
source $cfPath(anticollider)/anticollider_common.tcl
|
||||
|
||||
# NOTE: This is called with a list of motorname target pairs
|
||||
proc ::anticollider::enable {args} {
|
||||
if {[SplitReply [::anticollider::protect_detector]] == "false"} {
|
||||
return "false"
|
||||
} else {
|
||||
return "true"
|
||||
}
|
||||
}
|
||||
|
||||
::anticollider::loadscript acscript.txt
|
||||
Reference in New Issue
Block a user