# Author: Ferdi Franceschini (ffr@ansto.gov.au) # 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" proc select_environment_controller {envtemp} { if [ catch { puts "selecting $envtemp for environment control" switch $envtemp { "lh45" { add_lh45 tc1 ca5-quokka 4003 1 } "rhqc" { puts "Configuring RHQC" ::environment::temperature::add_ls340 tc1 1 tc1 controlsensor sensorB puts "Added tc1 with [tc1 controlsensor]" ::environment::temperature::add_ls340 tc2 2 tc2 controlsensor sensorD puts "Added tc2 with [tc2 controlsensor]" } "11TMagnet" { puts "Configuring 11TMagnet" ::environment::temperature::add_ls340 tc1 1 tc1 controlsensor sensorA } default { clientput "No temperature controller configured" } } } msg ] { puts "Failed to configure $envtemp: $msg" } } 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