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
This commit is contained in:
Ferdi Franceschini
2008-09-16 14:33:15 +10:00
committed by Douglas Clowes
parent 7d36e98479
commit 801ec1430b

View File

@@ -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
}