Lakeshore controllers will be connected to the ca5-[instrument] moxa box Default config parameters are now available via a tc_dfltPar array IP and socket number are now mandatory when creating an ls340 object hrpd/.../lakeshore340.tcl Multiple lakeshores can now be added to the hdb tree echidna_configuration.tcl Provide example for configuring two lakeshores SICS-134 reflectometer/../commands.tcl First draft of beam/attenuator command, currently sends POS=xx (this won't work) reflectometer/../motor_configuration.tcl Add bat position feedback via action sans/../motor_configuration.tcl Renamed action parameter (aoid) to "action" server_config.tcl Initialise motor movecount to 500 to reduce number of position updates by a factor of 50 SICS-134 action.c Update the beam/attenuator command feedback variable when POS changes. SICS-134 motor_dmc2280.c Added PLP:BAT:POS status response handler for platypus bat position updates Only send IDLE state position updates if position change is greater than the precision. Rename action parameter (aoid) to "action" r2679 | ffr | 2008-08-19 15:11:55 +1000 (Tue, 19 Aug 2008) | 31 lines
56 lines
1.5 KiB
Tcl
56 lines
1.5 KiB
Tcl
# $Revision: 1.33 $
|
|
# $Date: 2008-08-19 05:11:55 $
|
|
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
|
# Last revision by: $Author: ffr $
|
|
|
|
# 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(plc)/plc.tcl
|
|
fileeval $cfPath(counter)/counter.tcl
|
|
#TODO Provide method for choosing environment controller
|
|
fileeval $cfPath(environment)/temperature/lakeshore340.tcl
|
|
fileeval $cfPath(hmm)/hmm_configuration.tcl
|
|
fileeval $cfPath(nexus)/nxscripts.tcl
|
|
fileeval $cfPath(scan)/scan.tcl
|
|
fileeval $cfPath(commands)/commands.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
|
|
catch {
|
|
# ::environment::temperature::add_ls340 tc1 1
|
|
# ::environment::temperature::add_ls340 tc2 2
|
|
server_init
|
|
|
|
if [file exists ../extraconfig.tcl] {
|
|
fileeval ../extraconfig.tcl
|
|
}
|
|
|
|
buildHDB instrument_dictionary
|
|
}
|
|
|
|
clientput $errorContext
|
|
clientput $callStack
|