67 lines
2.4 KiB
Tcl
67 lines
2.4 KiB
Tcl
|
|
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
|
|
|
# Required by server_config.tcl
|
|
VarMake Instrument Text Internal
|
|
Instrument echidna
|
|
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
|
|
|
|
source instrument_vars.tcl
|
|
|
|
fileeval $cfPath(source)/source.tcl
|
|
source $cfPath(hipadaba)/hipadaba_configuration.tcl
|
|
fileeval $cfPath(motors)/positmotor_configuration.tcl
|
|
fileeval $cfPath(plc)/plc.tcl
|
|
fileeval $cfPath(counter)/counter.tcl
|
|
#TODO Provide method for choosing environment controller
|
|
fileeval $cfPath(environment)/temperature/lakeshore340.tcl
|
|
fileeval $cfPath(environment)/temperature/sct_lakeshore_3xx.tcl
|
|
fileeval $cfPath(environment)/temperature/west400.tcl
|
|
fileeval $cfPath(hmm)/hmm_configuration.tcl
|
|
fileeval $cfPath(nexus)/nxscripts.tcl
|
|
fileeval $cfPath(scan)/scan.tcl
|
|
fileeval $cfPath(commands)/commands.tcl
|
|
fileeval $cfPath(anticollider)/anticollider.tcl
|
|
fileeval $cfPath(environment)/robby_configuration.tcl
|
|
source gumxml.tcl
|
|
|
|
# ::environment::temperature::add_ls340 tc1 1
|
|
###::environment::temperature::add_ls340 tc2 1
|
|
|
|
##
|
|
# New lakeshore driver. BETA status. Data saving not tested
|
|
#add_ls340t tc1 ca5-[instname] 4001
|
|
#add_ls340t tc2 ca5-[instname] 4002
|
|
|
|
# New Lakeshore series driver for models 340 and 336
|
|
# driverName shortName IP-address portOnMoxa temperatureTolerance1 Tolerance2 LakeshoreModel
|
|
# ffr 2009-11-11: NOTE I've added a line terminator argument to the ls3xx setup.
|
|
# You need to set the line termintator to either "\r\n" for CRLF or "\r" for CR
|
|
# axm 2010-02-10: NOTE the ls3xx driver versions 2010-01-25 and newer expect 2 tolerance values,
|
|
# one for each control loop.
|
|
# name IP-address port term tol1 tol2 LakeshoreModel
|
|
# add_ls3xx tc1 137.157.201.23 7777 "\r\n" 2.0 10.0 336
|
|
|
|
###add_ls3xx tc1 137.157.201.23 7777 "\r\n" 5.0 336
|
|
#add_ls3xx tc1 ca5-[instname] 4001 "\r\n" 0.5 340
|
|
#add_ls3xx tc2 ca5-[instname] 4001 "\r" 0.5 340
|
|
|
|
::environment::temperature::add_west400 137.157.201.14
|
|
###::robot::add_robby
|
|
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
|