Fix typo to stop the scan command from checking thread0 on tclmot motors.
This commit is contained in:
committed by
Ferdi Franceschini
parent
fc02a71882
commit
5d40914ee0
@@ -192,7 +192,7 @@ proc ::scan::check_scanvar {sobj uobj} {
|
||||
return -code error "ERROR: Can't drive scan variable, $scan_variable position is set to 'fixed'"
|
||||
} else {
|
||||
set mtype [getatt $scan_variable mtype]
|
||||
if {$mtype != "tlcmot" && $check_thread0 && [SplitReply [$scan_variable thread0]] == -1} {
|
||||
if {$mtype != "tclmot" && $check_thread0 && [SplitReply [$scan_variable thread0]] == -1} {
|
||||
return -code error "ERROR: Can't scan ${scan_variable}. Thread zero has stopped running on the motion controller"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user