81 lines
2.1 KiB
Tcl
81 lines
2.1 KiB
Tcl
# $Revision: 1.8 $
|
|
# $Date: 2007-08-20 22:54:45 $
|
|
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
|
# Last revision by: $Author: ffr $
|
|
|
|
# Required by server_config.tcl
|
|
VarMake Instrument Text Internal
|
|
sicslist setatt Instrument privilege internal
|
|
Instrument kowari
|
|
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
|
|
|
|
########
|
|
# Parameters set above the restore command will be clobbered by
|
|
# the values in the status.tcl file
|
|
restore
|
|
|
|
fileeval $cfPath(plc)/plc.tcl
|
|
fileeval $cfPath(counter)/counter.tcl
|
|
fileeval $cfPath(hmm)/hmm_configuration.tcl
|
|
fileeval $cfPath(nexus)/nxscripts.tcl
|
|
fileeval $cfPath(scan)/scan.tcl
|
|
source $cfPath(hipadaba)/hipadaba_configuration.tcl
|
|
source gumxml.tcl
|
|
|
|
#::histogram_memory::setmode pulser
|
|
#::histogram_memory::setmode calibration
|
|
::histogram_memory::setmode normal
|
|
::histogram_memory::initialize
|
|
|
|
|
|
VarMake crystal_type Text User
|
|
VarMake crystal_wavelength_A Float User
|
|
|
|
VarMake bmon_distance Float User
|
|
|
|
## Column number at beam centre
|
|
VarMake detector_zero_row Float User
|
|
detector_zero_row 255.5
|
|
## Row number at beam centre for a detector rotation of 0 degrees
|
|
VarMake detector_zero_col Float User
|
|
detector_zero_col 100
|
|
|
|
detector_type Kowari detector
|
|
detector_type lock
|
|
|
|
detector_description This detects Kowaris
|
|
detector_description lock
|
|
MakeStateMon hmscan
|
|
|
|
if 0 {
|
|
proc instrument_set_sobj_attributes {} {
|
|
|
|
motor_set_sobj_attributes
|
|
::utility::set_motor_attributes
|
|
::utility::set_histomem_attributes
|
|
::utility::set_sobj_attributes
|
|
::plc::set_sobj_attributes
|
|
::counter::set_sobj_attributes
|
|
::nexus::set_sobj_attributes
|
|
::histogram_memory::set_sobj_attributes
|
|
## TODO move the following to the new ansto gumxml.tcl
|
|
sicslist setatt getgumtreexml privilege internal
|
|
}
|
|
|
|
instrument_set_sobj_attributes
|
|
}
|
|
fileeval extraconfig.tcl
|
|
server_set_sobj_attributes
|
|
buildHDB instrument_dictionary
|