This lets us make run and drive wrappers for the fermi motors on pelican by renaming the SICS run and drive.
62 lines
2.1 KiB
Tcl
62 lines
2.1 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
|
|
MakeDrive
|
|
#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)/sct_keithley_2700.tcl
|
|
fileeval $cfPath(environment)/temperature/sct_lakeshore_336.tcl
|
|
fileeval $cfPath(environment)/temperature/sct_lakeshore_340.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)/pulser.tcl
|
|
fileeval $cfPath(commands)/hvcommands.tcl
|
|
fileeval $cfPath(commands)/commands.tcl
|
|
fileeval $cfPath(anticollider)/anticollider.tcl
|
|
#fileeval $cfPath(environment)/robby_configuration.tcl
|
|
fileeval $cfPath(robots)/sct_pickandplace.tcl
|
|
source gumxml.tcl
|
|
|
|
|
|
##########################################################
|
|
# Current driver for Lakeshore temperature controllers #
|
|
##########################################################
|
|
# driverName shortName IP-address port LineTerminator Tolerance1 Tolerance2 optional_Verbose
|
|
add_sct_ls340 tc2 ca5-[instname] 4002 "\r" 0.5 1.0
|
|
# add_sct_ls336 tc3 137.157.201.24 7777 "\r\n" 5.0 5.0
|
|
add_sct_ls336 tc1 137.157.201.23 7777 "\r\n" 5.0 5.0
|
|
|
|
#::environment::temperature::add_west400 137.157.201.14
|
|
#::robot::add_robby
|
|
add_robot robby 137.157.201.26 6000
|
|
#add_robot rosie 137.157.201.26 6000
|
|
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
|