Files
sics/site_ansto/instrument/reflectometer/config/scan/scan.tcl
Ferdi Franceschini f7d01ceb6b Implemented ::scan::pre_hmm_scan_prepare hook to make sure that the chopper is ready before commencing a scan.
r2208 | ffr | 2007-10-31 17:05:15 +1100 (Wed, 31 Oct 2007) | 2 lines
2012-11-15 13:27:37 +11:00

10 lines
232 B
Tcl

source $cfPath(scan)/scan_common_1.tcl
##
# @brief Make sure that the chopper is ready before starting a scan.
proc ::scan::pre_hmm_scan_prepare {} {
if [catch {::chopper::ready?} errmsg] {
return -code error $errmsg
}
}