68 lines
2.5 KiB
Tcl
68 lines
2.5 KiB
Tcl
# $Revision: 1.20 $
|
|
# $Date: 2009-11-24 22:56:48 $
|
|
# 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(motors)/motor_configuration.tcl
|
|
|
|
|
|
fileeval $cfPath(source)/source.tcl
|
|
source $cfPath(hipadaba)/hipadaba_configuration.tcl
|
|
fileeval $cfPath(motors)/positmotor_configuration.tcl
|
|
fileeval $cfPath(velsel)/velsel.tcl
|
|
fileeval $cfPath(parameters)/parameters.tcl
|
|
fileeval $cfPath(plc)/plc.tcl
|
|
fileeval $cfPath(optics)/optics.tcl
|
|
fileeval $cfPath(counter)/counter.tcl
|
|
fileeval $cfPath(environment)/temperature/lakeshore340.tcl
|
|
fileeval $cfPath(environment)/temperature/sct_lakeshore_3xx.tcl
|
|
fileeval $cfPath(hmm)/hmm_configuration.tcl
|
|
fileeval $cfPath(nexus)/nxscripts.tcl
|
|
fileeval $cfPath(hmm)/detector.tcl
|
|
fileeval $cfPath(scan)/scan.tcl
|
|
fileeval $cfPath(commands)/commands.tcl
|
|
fileeval $cfPath(anticollider)/anticollider.tcl
|
|
fileeval $cfPath(environment)/temperature/sct_julabo_lh45.tcl
|
|
source gumxml.tcl
|
|
|
|
::utility::mkVar ::anticollider::protect_detector text manager protect_detector false detector true false
|
|
::anticollider::protect_detector "true"
|
|
|
|
if {[SplitReply [environment_simulation]]=="false"} {
|
|
catch { add_lh45 tc1 137.157.202.85 4003 1} message
|
|
puts $message
|
|
#catch { add_ls340t tc1 127.0.0.1 4001 1} message
|
|
#puts $message
|
|
}
|
|
#::environment::temperature::add_ls340 tc1 1
|
|
server_init
|
|
###########################################
|
|
# WARNING: Do not add any code below server_init, if you do SICS may fail to initialise properly.
|
|
|
|
# You can add extra-configuration code in ../extraconfig.tcl
|
|
|
|
# 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
|
|
}
|