Files
sics/site_ansto/instrument/reflectometer/config/hmm/detector.tcl
2014-05-16 17:23:58 +10:00

24 lines
749 B
Tcl

# Detector voltage controller
set sim_mode [SplitReply [detector_simulation]]
if {$::sim_mode == "true"} {
EvFactory new dhv1 sim
} else {
# clientput "Detector Voltage control not yet available"
# MJL 6/13 Revised voltage settings for serviced original Platypus detector (rectangular DENEX 250TN)
# Old voltages +3350V and -1500V, after servicing gas pressure changed and now +2800V and -1000V.
# NOTE: If square DENEX 300TN is fitted, voltages need to be revised again! (+2850V and -1100V currently for this detector)
makeasyncqueue acq NHQ200 ca2-platypus 4001
evfactory new dhv1 nhq200 acq 1
dhv1 tolerance 5
dhv1 rate 25
dhv1 upper 3000
#dhv1 lock
evfactory new dhv2 nhq200 acq 2
dhv2 tolerance 5
dhv2 rate 25
dhv2 upper 1500
#dhv2 lock
}