sans/config/hmm/detector.tcl Use dns-name for voltage controller address. sans/config/motors/motor_configuration.tcl Set det home position. SICS-122 Added FastShutter variable and configured det motor with an action object to set the FastShutter variable. SICS-248 Replaced beamstop motor objects with beamstop action objects. action.[ch] The action object factory will eventuall be defined here. SICS-122 Currently there is just a funcion which sets the FastShutter variable beamstopaction.c Added motion control enabled check. Added "list" subcommand. Makefile Compile action.c motor_dmc2280.c The status check command now always checks the TI1 and TI0 interrupts. Added action-object configuration parameter. Call AO_istatus with TI1 if configured with an action object. r2674 | ffr | 2008-08-13 14:16:30 +1000 (Wed, 13 Aug 2008) | 26 lines
18 lines
328 B
Tcl
18 lines
328 B
Tcl
# Detector voltage controller
|
|
|
|
set sim_mode [SplitReply [detector_simulation]]
|
|
|
|
if {$::sim_mode == "true"} {
|
|
EvFactory new dhv1 sim
|
|
} else {
|
|
makeasyncqueue acq ORHVPS ca1-quokka 4001
|
|
evfactory new dhv1 orhvps acq
|
|
dhv1 lowerlimit 0
|
|
dhv1 upperlimit 2400
|
|
dhv1 tolerance 19
|
|
dhv1 max 2400
|
|
dhv1 rate 10
|
|
# dhv1 lock
|
|
}
|
|
|