SICS was trying to save the AttRotDeg and RotApDeg status feedback nodes The data property of the status feedback nodes has been set to false. r2684 | ffr | 2008-08-29 21:38:20 +1000 (Fri, 29 Aug 2008) | 4 lines
78 lines
2.5 KiB
Tcl
78 lines
2.5 KiB
Tcl
# $Revision: 1.13 $
|
|
# $Date: 2008-08-29 11:38:20 $
|
|
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
|
# Last revision by: $Author: ffr $
|
|
|
|
# Required by server_config.tcl
|
|
VarMake Instrument Text Internal
|
|
Instrument quokka
|
|
Instrument lock
|
|
|
|
#START SERVER CONFIGURATION SECTION
|
|
source util/dmc2280/dmc2280_util.tcl
|
|
source sics_ports.tcl
|
|
source server_config.tcl
|
|
#END SERVER CONFIGURATION SECTION
|
|
|
|
########################################
|
|
# INSTRUMENT SPECIFIC CONFIGURATION
|
|
|
|
fileeval $cfPath(source)/source.tcl
|
|
source $cfPath(hipadaba)/hipadaba_configuration.tcl
|
|
fileeval $cfPath(nexus)/nxscripts.tcl
|
|
fileeval $cfPath(parameters)/parameters.tcl
|
|
fileeval $cfPath(velsel)/velsel.tcl
|
|
fileeval $cfPath(motors)/motor_configuration.tcl
|
|
fileeval $cfPath(plc)/plc.tcl
|
|
fileeval $cfPath(optics)/optics.tcl
|
|
fileeval $cfPath(counter)/counter.tcl
|
|
fileeval $cfPath(hmm)/hmm_configuration.tcl
|
|
fileeval $cfPath(hmm)/detector.tcl
|
|
fileeval $cfPath(scan)/scan.tcl
|
|
fileeval $cfPath(commands)/commands.tcl
|
|
fileeval $cfPath(anticollider)/anticollider.tcl
|
|
source gumxml.tcl
|
|
|
|
|
|
########
|
|
# Parameters set above the restore command will be clobbered by
|
|
# the values in the status.tcl file
|
|
# BIG WARNING: DON'T PUT 'restore' IN A CATCH BLOCK BECAUSE IT RETURNS
|
|
# AN ERROR IF THERE IS NO ../log/status.tcl FILE.
|
|
restore
|
|
|
|
::utility::mkVar ::anticollider::protect_detector text manager protect_detector false detector true false
|
|
::anticollider::protect_detector "true"
|
|
|
|
|
|
########
|
|
# Parameters set above the restore command will be clobbered by
|
|
# the values in the status.tcl file
|
|
# BIG WARNING: DON'T PUT 'restore' IN A CATCH BLOCK BECAUSE IT RETURNS
|
|
# AN ERROR IF THERE IS NO ../log/status.tcl FILE.
|
|
restore
|
|
|
|
catch {
|
|
::anticollider::init
|
|
server_init
|
|
|
|
if [file exists ../extraconfig.tcl] {
|
|
fileeval ../extraconfig.tcl
|
|
}
|
|
|
|
buildHDB instrument_dictionary
|
|
# TODO SICS-198 add feedback support to getset macro generator
|
|
foreach pname {AttRotDeg RotApDeg} {
|
|
hmake /instrument/parameters/derived_parameters/$pname/feedback spy none
|
|
hsetprop /instrument/parameters/derived_parameters/$pname/feedback data false
|
|
hsetprop /instrument/parameters/derived_parameters/$pname/feedback control true
|
|
hattach /instrument/parameters/derived_parameters/$pname/feedback ${pname}_status status
|
|
hsetprop /instrument/parameters/derived_parameters/$pname/feedback/status control true
|
|
hsetprop /instrument/parameters/derived_parameters/$pname/feedback/status data false
|
|
hsetprop /instrument/parameters/derived_parameters/$pname/feedback/status nxsave false
|
|
}
|
|
}
|
|
|
|
clientput $errorContext
|
|
clientput $callStack
|