51 lines
1.3 KiB
Tcl
51 lines
1.3 KiB
Tcl
# $Revision: 1.4 $
|
|
# $Date: 2006-11-13 22:40:29 $
|
|
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
|
# Last revision by: $Author: dcl $
|
|
|
|
#START SERVER CONFIGURATION SECTION
|
|
source dmc2280_util.tcl
|
|
set quieckport quieck-kowari
|
|
set serverport server-kowari
|
|
set interruptport interrupt-kowari
|
|
set telnetport telnet-kowari
|
|
source server_config.tcl
|
|
#END SERVER CONFIGURATION SECTION
|
|
|
|
########################################
|
|
# INSTRUMENT SPECIFIC CONFIGURATION
|
|
VarMake Instrument Text Internal
|
|
Instrument Kowari
|
|
Instrument lock
|
|
|
|
MakeCounter simCtr SIM -1.0
|
|
#-------------------------------------------------------------------------
|
|
# System: Histogram Server
|
|
#------------------------------------------------------------------------
|
|
|
|
# For the time being, use a simulated counter.
|
|
# When the beam monitor is interfaced, it can be used instead.
|
|
MakeCounter ctr SIM 0
|
|
|
|
# Set up the counter to provide a 2 second acquisition
|
|
#ctr SetMode Timer
|
|
#ctr SetPreset 2
|
|
|
|
MakeHM hm anstohttp
|
|
hm configure hmaddress http://localhost:8888
|
|
hm configure username spy
|
|
hm configure password 007
|
|
hm configure hmconfigscript puts anstohm.xml
|
|
#
|
|
hm CountMode timer
|
|
hm preset 2
|
|
hm exponent 0
|
|
#
|
|
hm configure init 1
|
|
hm init
|
|
MakeScanCommand xxxscan simCtr kowari.hdd recover.bin
|
|
|
|
fileeval motor_configuration.tcl
|
|
source gen_hipadaba.tcl
|
|
fileeval extraconfig.tcl
|