# $Revision: 1.11 $ # $Date: 2008-07-11 01:09:57 $ # 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 hattach /instrument/parameters/derived_parameters/$pname/feedback ${pname}_status status } } clientput $errorContext clientput $callStack