From 801ec1430bf371e757f95c11ca50222c73e84279 Mon Sep 17 00:00:00 2001 From: Ferdi Franceschini Date: Tue, 16 Sep 2008 14:33:15 +1000 Subject: [PATCH] The motor lowerlimits were being checked against the scan target position instead of the scan start position. r2691 | ffr | 2008-09-16 14:33:15 +1000 (Tue, 16 Sep 2008) | 3 lines --- site_ansto/instrument/config/scan/scan_common_1.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site_ansto/instrument/config/scan/scan_common_1.tcl b/site_ansto/instrument/config/scan/scan_common_1.tcl index cecd1a54..61bf00da 100644 --- a/site_ansto/instrument/config/scan/scan_common_1.tcl +++ b/site_ansto/instrument/config/scan/scan_common_1.tcl @@ -167,8 +167,8 @@ proc ::scan::check_scanvar {sobj uobj} { if [catch { ::scan::check_limit $scan_variable hardlowerlim $target ::scan::check_limit $scan_variable hardupperlim $target - ::scan::check_limit $scan_variable softlowerlim $target - ::scan::check_limit $scan_variable softupperlim $target + ::scan::check_limit $scan_variable softlowerlim $scan_start + ::scan::check_limit $scan_variable softupperlim $scan_start }] { return -code error $::errorInfo }