reorganised configuration tree
r1703 | dcl | 2007-03-23 13:55:35 +1100 (Fri, 23 Mar 2007) | 2 lines
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
platypus_configuration.tcl
|
platypus_configuration.tcl
|
||||||
motor_configuration.tcl
|
sics_ports.tcl
|
||||||
chopper.tcl
|
|
||||||
hipadaba_configuration.tcl
|
|
||||||
InstXML.xml
|
|
||||||
extraconfig.tcl
|
extraconfig.tcl
|
||||||
hpaths.tcl
|
config
|
||||||
troubleshoot_setup.tcl
|
util
|
||||||
|
|||||||
14
site_ansto/instrument/reflectometer/Makefile
Normal file
14
site_ansto/instrument/reflectometer/Makefile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
cfPath=config/motors
|
||||||
|
|
||||||
|
all: script_val
|
||||||
|
make -C config
|
||||||
|
|
||||||
|
|
||||||
|
script_val: SVmotors
|
||||||
|
|
||||||
|
|
||||||
|
SVmotors: $(cfPath)/motor_configuration.tcl
|
||||||
|
../mksim_config.tcl -f $(cfPath)/motor_configuration.tcl > script_validator/$(cfPath)/motor_configuration.tcl
|
||||||
|
|
||||||
|
clean:
|
||||||
|
make -C config clean
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
config/counter/counter_common_1.tcl
|
||||||
|
config/hipadaba/common_hipadaba_configuration.tcl
|
||||||
|
config/hmm/hmm_configuration_common_1.tcl
|
||||||
|
config/scan/scan_common_1.hdd
|
||||||
|
config/scan/scan_common_1.tcl
|
||||||
|
config/nexus/nxscripts_common_1.tcl
|
||||||
6
site_ansto/instrument/reflectometer/config/Makefile
Normal file
6
site_ansto/instrument/reflectometer/config/Makefile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
all:
|
||||||
|
make -C nexus
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
make -C nexus clean
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
#START SERVER CONFIGURATION SECTION
|
||||||
|
set sicsroot /usr/local/sics
|
||||||
|
source dmc2280_util.tcl
|
||||||
|
source server_config.tcl
|
||||||
|
#END SERVER CONFIGURATION SECTION
|
||||||
|
|
||||||
|
########################################
|
||||||
|
# INSTRUMENT SPECIFIC CONFIGURATION
|
||||||
|
VarMake Instrument Text Internal
|
||||||
|
Instrument Platypus
|
||||||
|
Instrument lock
|
||||||
|
|
||||||
|
# Chopper NCS013 communications
|
||||||
|
set chopper_controller(host) 137.157.202.130
|
||||||
|
set chopper_controller(port) 10000
|
||||||
|
set chopper_controller(user) NCS
|
||||||
|
set chopper_controller(password) NCS013
|
||||||
|
|
||||||
|
|
||||||
|
# CHOPPER
|
||||||
|
MakeChopper chopperController tcpdocho [params \
|
||||||
|
host $chopper_controller(host) \
|
||||||
|
port $chopper_controller(port) \
|
||||||
|
nchopper 4 \
|
||||||
|
timeout 30 \
|
||||||
|
user $chopper_controller(user) \
|
||||||
|
password $chopper_controller(password) \
|
||||||
|
]
|
||||||
|
ChopperAdapter chspeed chopperController speed 0 10
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
source $cfPath(hipadaba)/common_hipadaba_configuration.tcl
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
set hpaths [list \
|
||||||
|
experiment sample detector slits \
|
||||||
|
slits/1 slits/1/horizontal slits/1/vertical \
|
||||||
|
slits/2 slits/2/horizontal slits/2/vertical \
|
||||||
|
slits/3 slits/3/horizontal slits/3/vertical \
|
||||||
|
slits/4 slits/4/horizontal slits/4/vertical]
|
||||||
|
|
||||||
|
# Maps devices (eg motors) to hipadaba paths.
|
||||||
|
# obj name path
|
||||||
|
set motor_hpath [list \
|
||||||
|
ss1u top /slits/1/vertical \
|
||||||
|
ss1d bottom /slits/1/vertical \
|
||||||
|
ss1l left /slits/1/horizontal \
|
||||||
|
ss1r right /slits/1/horizontal \
|
||||||
|
ss2u top /slits/2/vertical \
|
||||||
|
ss2d bottom /slits/2/vertical \
|
||||||
|
ss2l left /slits/2/horizontal \
|
||||||
|
ss2r right /slits/2/horizontal \
|
||||||
|
ss3u top /slits/3/vertical \
|
||||||
|
ss3d bottom /slits/3/vertical \
|
||||||
|
ss3l left /slits/3/horizontal \
|
||||||
|
ss3r right /slits/3/horizontal \
|
||||||
|
ss4u top /slits/4/vertical \
|
||||||
|
ss4d bottom /slits/4/vertical \
|
||||||
|
ss4l left /slits/4/horizontal \
|
||||||
|
ss4r right /slits/4/horizontal \
|
||||||
|
st3vt st3vt /slits/3/vertical \
|
||||||
|
st4vt st4vt /slits/4/vertical \
|
||||||
|
sz translate_z /sample \
|
||||||
|
sx translate_x /sample \
|
||||||
|
sth sth /sample \
|
||||||
|
sphi sphi /sample \
|
||||||
|
bz shade /detector \
|
||||||
|
dz detector /detector ]
|
||||||
|
|
||||||
|
# Configurable virtual motors
|
||||||
|
# obj name path master_obj
|
||||||
|
set cvirtmotor_hpath [list \
|
||||||
|
ss1hg gap /slits/1/horizontal left\
|
||||||
|
ss1ho offset /slits/1/horizontal left\
|
||||||
|
ss1vg gap /slits/1/vertical top\
|
||||||
|
ss1vo offset /slits/1/vertical top\
|
||||||
|
ss2hg gap /slits/2/horizontal left\
|
||||||
|
ss2ho offset /slits/2/horizontal left\
|
||||||
|
ss2vg gap /slits/2/vertical top\
|
||||||
|
ss2vo offset /slits/2/vertical top\
|
||||||
|
ss3hg gap /slits/3/horizontal left\
|
||||||
|
ss3ho offset /slits/3/horizontal left\
|
||||||
|
ss3vg gap /slits/3/vertical top\
|
||||||
|
ss3vo offset /slits/3/vertical top\
|
||||||
|
ss4hg gap /slits/4/horizontal left\
|
||||||
|
ss4ho offset /slits/4/horizontal left\
|
||||||
|
ss4vg gap /slits/4/vertical top\
|
||||||
|
ss4vo offset /slits/4/vertical top]
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
18
site_ansto/instrument/reflectometer/config/nexus/Makefile
Normal file
18
site_ansto/instrument/reflectometer/config/nexus/Makefile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
BMON_COMMON=nexus_in_common_1.dic nexus_in_bmon_common_1.dic nexus_in_scan_common_1.dic
|
||||||
|
HMM_COMMON=nexus_in_common_1.dic nexus_in_hmm_common_1.dic nexus_in_bmon_common_1.dic nexus_in_scan_common_1.dic
|
||||||
|
|
||||||
|
all: nexus_bmonscan.dic nexus_hmscan.dic
|
||||||
|
rm -f $(BMON_COMMON) $(HMM_COMMON)
|
||||||
|
|
||||||
|
%.dic:
|
||||||
|
cp ../../../config/nexus/$@ .
|
||||||
|
|
||||||
|
nexus_bmonscan.dic: $(BMON_COMMON) nexus_in_motors.dic
|
||||||
|
cat $^ > $@
|
||||||
|
|
||||||
|
nexus_hmscan.dic: $(HMM_COMMON) nexus_in_motors.dic
|
||||||
|
cat $^ > $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm nexus_bmonscan.dic nexus_hmscan.dic
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 507 B |
@@ -0,0 +1,86 @@
|
|||||||
|
##NXDICT-1.0
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# DO NOT EDIT WHEN YOU DO NOT KNOW WHAT YOU ARE DOING!
|
||||||
|
# This file determines the placement of data items in the NeXus
|
||||||
|
# data file. Your data may not be readable if this file is messed up.
|
||||||
|
#
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
entryName=entry1
|
||||||
|
inst=instrument
|
||||||
|
monochromator=monochromator
|
||||||
|
detector=detector
|
||||||
|
padim0=512
|
||||||
|
padim1=128
|
||||||
|
scan_variable=scanvar
|
||||||
|
|
||||||
|
#---------- NXentry level
|
||||||
|
etitle=/$(entryName),NXentry/SDS title -type NX_CHAR
|
||||||
|
sics_release=/$(entryName),NXentry/SDS release_tag -type NX_CHAR
|
||||||
|
estart=/$(entryName),NXentry/SDS start_time -type NX_CHAR
|
||||||
|
eend=/$(entryName),NXentry/SDS end_time -type NX_CHAR
|
||||||
|
|
||||||
|
#----------------- NXinstrument
|
||||||
|
iname=/$(entryName),NXentry/$(inst),NXinstrument/SDS name -type NX_CHAR \
|
||||||
|
-rank 1 -dim {132}
|
||||||
|
|
||||||
|
#----------------- NXuser
|
||||||
|
username=/$(entryName),NXentry/user,NXuser/SDS name -type NX_CHAR
|
||||||
|
userrole=/$(entryName),NXentry/user,NXuser/SDS role -type NX_CHAR
|
||||||
|
useraddress=/$(entryName),NXentry/user,NXuser/SDS address -type NX_CHAR
|
||||||
|
userphone=/$(entryName),NXentry/user,NXuser/SDS phone -type NX_CHAR
|
||||||
|
useremail=/$(entryName),NXentry/user,NXuser/SDS email -type NX_CHAR
|
||||||
|
|
||||||
|
#----------------- NXsource
|
||||||
|
sname=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS name \
|
||||||
|
-type NX_CHAR -rank 1
|
||||||
|
stype=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS type -type NX_CHAR -rank 1
|
||||||
|
sprobe=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS probe -type NX_CHAR -rank 1
|
||||||
|
|
||||||
|
#----------------- NXcrystal
|
||||||
|
clambda=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS wavelength -type NX_FLOAT32 -attr {units,Angstrom}
|
||||||
|
ctype=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS type -type NX_CHAR
|
||||||
|
|
||||||
|
#--------------- NXsample
|
||||||
|
saname=/$(entryName),NXentry/sample,NXsample/SDS name -type NX_CHAR
|
||||||
|
#----------------- NXmonitor
|
||||||
|
mmode=/$(entryName),NXentry/monitor,NXmonitor/SDS mode -type NX_CHAR
|
||||||
|
mpreset=/$(entryName),NXentry/monitor,NXmonitor/SDS preset -type NX_FLOAT32
|
||||||
|
mdata=/$(entryName),NXentry/monitor,NXmonitor/SDS data -type NX_INT32
|
||||||
|
mdistance=/$(entryName),NXentry/monitor,NXmonitor/SDS distance -type NX_FLOAT32 -attr {units,metre}
|
||||||
|
dlayout=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS layout -type NX_CHAR
|
||||||
|
scanvar_name=xxx
|
||||||
|
scanvar_units=xxx
|
||||||
|
scanvar_longname=xxx
|
||||||
|
|
||||||
|
#----------------NXdata ------------------------------------------------
|
||||||
|
|
||||||
|
scandata=/$(entryName),NXentry/scan_data,NXdata/NXVGROUP
|
||||||
|
scanvertaxis=/$(entryName),NXentry/vertical_axis,NXdata/NXVGROUP
|
||||||
|
scanvar=/$(entryName),NXentry/scan_variable,NXdata/SDS $(scanvar_name) -type NX_FLOAT32 -attr {units,$(scanvar_units)} -attr {long_name,$(scanvar_longname)}
|
||||||
|
scanstep=/$(entryName),NXentry/scan_step,NXdata/SDS value -type NX_FLOAT32 -attr {units,degree} -attr {long_name,stepsize}
|
||||||
|
#histogram=/$(entryName),NXentry/histogram,NXdata/NXVGROUP
|
||||||
|
#scanvar=/$(entryName),NXentry/$(scan_variable),NXdata/NXVGROUP
|
||||||
|
|
||||||
|
mot_name=xxx
|
||||||
|
mot_units=xxx
|
||||||
|
mot_long_name=xxx
|
||||||
|
#--------------- NXmonochromator
|
||||||
|
nxcrystal_mot=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
mth=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS mth -type NX_FLOAT32 -attr {units,degree} -attr {long_name,mth}
|
||||||
|
#--------------- NXsample
|
||||||
|
nxsample_mot=/$(entryName),NXentry/sample,NXsample/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
sth=/$(entryName),NXentry/sample,NXsample/SDS sth -type NX_FLOAT32 -attr {units,degree} -attr {long_name,sth}
|
||||||
|
# Slit motors
|
||||||
|
nxfilter_mot=/$(entryName),NXentry/slits,NXfilter/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
ss1vg=/$(entryName),NXentry/slits,NXfilter/SDS ss1vg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1vg}
|
||||||
|
ss1vo=/$(entryName),NXentry/slits,NXfilter/SDS ss1vo -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1vo}
|
||||||
|
ss1hg=/$(entryName),NXentry/slits,NXfilter/SDS ss1hg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1hg}
|
||||||
|
ss1ho=/$(entryName),NXentry/slits,NXfilter/SDS ss1ho -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1ho}
|
||||||
|
ss2vg=/$(entryName),NXentry/slits,NXfilter/SDS ss2vg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2vg}
|
||||||
|
ss2vo=/$(entryName),NXentry/slits,NXfilter/SDS ss2vo -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2vo}
|
||||||
|
ss2hg=/$(entryName),NXentry/slits,NXfilter/SDS ss2hg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2hg}
|
||||||
|
ss2ho=/$(entryName),NXentry/slits,NXfilter/SDS ss2ho -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2ho}
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
##NXDICT-1.0
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# DO NOT EDIT WHEN YOU DO NOT KNOW WHAT YOU ARE DOING!
|
||||||
|
# This file determines the placement of data items in the NeXus
|
||||||
|
# data file. Your data may not be readable if this file is messed up.
|
||||||
|
#
|
||||||
|
#----------------------------------------------------------------------------
|
||||||
|
entryName=entry1
|
||||||
|
inst=instrument
|
||||||
|
monochromator=monochromator
|
||||||
|
detector=detector
|
||||||
|
padim0=512
|
||||||
|
padim1=128
|
||||||
|
scan_variable=scanvar
|
||||||
|
|
||||||
|
#---------- NXentry level
|
||||||
|
etitle=/$(entryName),NXentry/SDS title -type NX_CHAR
|
||||||
|
sics_release=/$(entryName),NXentry/SDS release_tag -type NX_CHAR
|
||||||
|
estart=/$(entryName),NXentry/SDS start_time -type NX_CHAR
|
||||||
|
eend=/$(entryName),NXentry/SDS end_time -type NX_CHAR
|
||||||
|
|
||||||
|
#----------------- NXinstrument
|
||||||
|
iname=/$(entryName),NXentry/$(inst),NXinstrument/SDS name -type NX_CHAR \
|
||||||
|
-rank 1 -dim {132}
|
||||||
|
|
||||||
|
#----------------- NXuser
|
||||||
|
username=/$(entryName),NXentry/user,NXuser/SDS name -type NX_CHAR
|
||||||
|
userrole=/$(entryName),NXentry/user,NXuser/SDS role -type NX_CHAR
|
||||||
|
useraddress=/$(entryName),NXentry/user,NXuser/SDS address -type NX_CHAR
|
||||||
|
userphone=/$(entryName),NXentry/user,NXuser/SDS phone -type NX_CHAR
|
||||||
|
useremail=/$(entryName),NXentry/user,NXuser/SDS email -type NX_CHAR
|
||||||
|
|
||||||
|
#----------------- NXsource
|
||||||
|
sname=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS name \
|
||||||
|
-type NX_CHAR -rank 1
|
||||||
|
stype=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS type -type NX_CHAR -rank 1
|
||||||
|
sprobe=/$(entryName),NXentry/$(inst),NXinstrument/source,NXsource/SDS probe -type NX_CHAR -rank 1
|
||||||
|
|
||||||
|
#----------------- NXcrystal
|
||||||
|
clambda=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS wavelength -type NX_FLOAT32 -attr {units,Angstrom}
|
||||||
|
ctype=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS type -type NX_CHAR
|
||||||
|
|
||||||
|
#--------------- NXsample
|
||||||
|
saname=/$(entryName),NXentry/sample,NXsample/SDS name -type NX_CHAR
|
||||||
|
#-------------- Detector
|
||||||
|
# histogram data
|
||||||
|
|
||||||
|
|
||||||
|
dradius=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS distance -type NX_FLOAT32 -attr {units,mm}
|
||||||
|
dheight=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS detector_height -type NX_FLOAT32 -attr {units,mm} -attr {long_name, active height}
|
||||||
|
detangle_rad=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS angular_coverage -type NX_FLOAT32 -attr {units,radians}
|
||||||
|
detangle_degrees=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS angular_coverage -type NX_FLOAT32 -attr {units,degrees}
|
||||||
|
dtheta=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS polar_angle -type NX_FLOAT32 -LZW -rank 2 -dim {$(padim0),$(padim1)} -attr {units,radians}
|
||||||
|
dvaxis=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS vertical_axis -type NX_FLOAT32 -LZW -rank 1 -dim {$(padim0)} -attr {units,mm}
|
||||||
|
|
||||||
|
dcounts=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS \
|
||||||
|
data -type NX_INT32 -LZW -rank 2 -dim {$(dim0),$(dim1)} \
|
||||||
|
-attr {signal,1}
|
||||||
|
|
||||||
|
deff=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/calibration,NXdata/SDS efficiency -type NX_INT32 -LZW -rank 2 -dim {$(dim0),$(dim1)}
|
||||||
|
|
||||||
|
ddesc=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS description -type NX_CHAR
|
||||||
|
|
||||||
|
dtype=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS type -type NX_CHAR
|
||||||
|
|
||||||
|
dlayout=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS layout -type NX_CHAR
|
||||||
|
|
||||||
|
#----------------- NXmonitor
|
||||||
|
mmode=/$(entryName),NXentry/monitor,NXmonitor/SDS mode -type NX_CHAR
|
||||||
|
mpreset=/$(entryName),NXentry/monitor,NXmonitor/SDS preset -type NX_FLOAT32
|
||||||
|
mdata=/$(entryName),NXentry/monitor,NXmonitor/SDS data -type NX_INT32
|
||||||
|
mdistance=/$(entryName),NXentry/monitor,NXmonitor/SDS distance -type NX_FLOAT32 -attr {units,metre}
|
||||||
|
dlayout=/$(entryName),NXentry/$(inst),NXinstrument/$(detector),NXdetector/SDS layout -type NX_CHAR
|
||||||
|
scanvar_name=xxx
|
||||||
|
scanvar_units=xxx
|
||||||
|
scanvar_longname=xxx
|
||||||
|
|
||||||
|
#----------------NXdata ------------------------------------------------
|
||||||
|
|
||||||
|
scandata=/$(entryName),NXentry/scan_data,NXdata/NXVGROUP
|
||||||
|
scanvertaxis=/$(entryName),NXentry/vertical_axis,NXdata/NXVGROUP
|
||||||
|
scanvar=/$(entryName),NXentry/scan_variable,NXdata/SDS $(scanvar_name) -type NX_FLOAT32 -attr {units,$(scanvar_units)} -attr {long_name,$(scanvar_longname)}
|
||||||
|
scanstep=/$(entryName),NXentry/scan_step,NXdata/SDS value -type NX_FLOAT32 -attr {units,degree} -attr {long_name,stepsize}
|
||||||
|
#histogram=/$(entryName),NXentry/histogram,NXdata/NXVGROUP
|
||||||
|
#scanvar=/$(entryName),NXentry/$(scan_variable),NXdata/NXVGROUP
|
||||||
|
|
||||||
|
mot_name=xxx
|
||||||
|
mot_units=xxx
|
||||||
|
mot_long_name=xxx
|
||||||
|
#--------------- NXmonochromator
|
||||||
|
nxcrystal_mot=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
mth=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS mth -type NX_FLOAT32 -attr {units,degree} -attr {long_name,mth}
|
||||||
|
#--------------- NXsample
|
||||||
|
nxsample_mot=/$(entryName),NXentry/sample,NXsample/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
sth=/$(entryName),NXentry/sample,NXsample/SDS sth -type NX_FLOAT32 -attr {units,degree} -attr {long_name,sth}
|
||||||
|
# Slit motors
|
||||||
|
nxfilter_mot=/$(entryName),NXentry/slits,NXfilter/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
ss1vg=/$(entryName),NXentry/slits,NXfilter/SDS ss1vg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1vg}
|
||||||
|
ss1vo=/$(entryName),NXentry/slits,NXfilter/SDS ss1vo -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1vo}
|
||||||
|
ss1hg=/$(entryName),NXentry/slits,NXfilter/SDS ss1hg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1hg}
|
||||||
|
ss1ho=/$(entryName),NXentry/slits,NXfilter/SDS ss1ho -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1ho}
|
||||||
|
ss2vg=/$(entryName),NXentry/slits,NXfilter/SDS ss2vg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2vg}
|
||||||
|
ss2vo=/$(entryName),NXentry/slits,NXfilter/SDS ss2vo -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2vo}
|
||||||
|
ss2hg=/$(entryName),NXentry/slits,NXfilter/SDS ss2hg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2hg}
|
||||||
|
ss2ho=/$(entryName),NXentry/slits,NXfilter/SDS ss2ho -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2ho}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
mot_name=xxx
|
||||||
|
mot_units=xxx
|
||||||
|
mot_long_name=xxx
|
||||||
|
#--------------- NXmonochromator
|
||||||
|
nxcrystal_mot=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
mth=/$(entryName),NXentry/$(inst),NXinstrument/$(monochromator),NXcrystal/SDS mth -type NX_FLOAT32 -attr {units,degree} -attr {long_name,mth}
|
||||||
|
#--------------- NXsample
|
||||||
|
nxsample_mot=/$(entryName),NXentry/sample,NXsample/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
sth=/$(entryName),NXentry/sample,NXsample/SDS sth -type NX_FLOAT32 -attr {units,degree} -attr {long_name,sth}
|
||||||
|
# Slit motors
|
||||||
|
nxfilter_mot=/$(entryName),NXentry/slits,NXfilter/SDS $(mot_name) -type NX_FLOAT32 -attr {units,$(mot_units)} -attr {long_name,$(mot_long_name)}
|
||||||
|
#XXX add units command to configurable virtual motors.
|
||||||
|
ss1vg=/$(entryName),NXentry/slits,NXfilter/SDS ss1vg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1vg}
|
||||||
|
ss1vo=/$(entryName),NXentry/slits,NXfilter/SDS ss1vo -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1vo}
|
||||||
|
ss1hg=/$(entryName),NXentry/slits,NXfilter/SDS ss1hg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1hg}
|
||||||
|
ss1ho=/$(entryName),NXentry/slits,NXfilter/SDS ss1ho -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss1ho}
|
||||||
|
ss2vg=/$(entryName),NXentry/slits,NXfilter/SDS ss2vg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2vg}
|
||||||
|
ss2vo=/$(entryName),NXentry/slits,NXfilter/SDS ss2vo -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2vo}
|
||||||
|
ss2hg=/$(entryName),NXentry/slits,NXfilter/SDS ss2hg -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2hg}
|
||||||
|
ss2ho=/$(entryName),NXentry/slits,NXfilter/SDS ss2ho -type NX_FLOAT32 -attr {units,degree} -attr {long_name,ss2ho}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
source $cfPath(nexus)/nxscripts_common_1.tcl
|
||||||
8
site_ansto/instrument/reflectometer/config/scan/scan.tcl
Normal file
8
site_ansto/instrument/reflectometer/config/scan/scan.tcl
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
namespace eval scancommand {
|
||||||
|
proc init {} {
|
||||||
|
}
|
||||||
|
proc commands_hpath_setup {parent} {
|
||||||
|
}
|
||||||
|
proc graphics_hpath_setup {parent} {
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,24 +1,31 @@
|
|||||||
# $Revision: 1.6 $
|
# $Revision: 1.7 $
|
||||||
# $Date: 2007-02-12 05:57:50 $
|
# $Date: 2007-03-23 02:55:06 $
|
||||||
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
|
||||||
# Last revision by: $Author: ffr $
|
# Last revision by: $Author: dcl $
|
||||||
|
|
||||||
|
# Required by server_config.tcl
|
||||||
|
VarMake Instrument Text Internal
|
||||||
|
Instrument Platypus
|
||||||
|
Instrument lock
|
||||||
|
|
||||||
#START SERVER CONFIGURATION SECTION
|
#START SERVER CONFIGURATION SECTION
|
||||||
source dmc2280_util.tcl
|
source util/dmc2280/dmc2280_util.tcl
|
||||||
set quieckport quieck-platypus
|
source sics_ports.tcl
|
||||||
set serverport server-platypus
|
|
||||||
set interruptport interrupt-platypus
|
|
||||||
set telnetport telnet-platypus
|
|
||||||
source server_config.tcl
|
source server_config.tcl
|
||||||
#END SERVER CONFIGURATION SECTION
|
#END SERVER CONFIGURATION SECTION
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# INSTRUMENT SPECIFIC CONFIGURATION
|
# INSTRUMENT SPECIFIC CONFIGURATION
|
||||||
VarMake Instrument Text Internal
|
|
||||||
Instrument Platypus
|
|
||||||
Instrument lock
|
|
||||||
|
|
||||||
fileeval chopper.tcl
|
#fileeval chopper.tcl
|
||||||
fileeval motor_configuration.tcl
|
fileeval $cfPath(motors)/motor_configuration.tcl
|
||||||
fileeval gen_hipadaba.tcl
|
#fileeval gen_hipadaba.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
|
||||||
|
|
||||||
fileeval extraconfig.tcl
|
fileeval extraconfig.tcl
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
sics_ports.tcl
|
||||||
|
config
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
set quieckport quieck-val-platypus
|
||||||
|
set serverport server-val-platypus
|
||||||
|
set interruptport interrupt-val-platypus
|
||||||
|
set telnetport telnet-val-platypus
|
||||||
4
site_ansto/instrument/reflectometer/sics_ports.tcl
Normal file
4
site_ansto/instrument/reflectometer/sics_ports.tcl
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
set quieckport quieck-platypus
|
||||||
|
set serverport server-platypus
|
||||||
|
set interruptport interrupt-platypus
|
||||||
|
set telnetport telnet-platypus
|
||||||
Reference in New Issue
Block a user