SICS-261 hmscan aborts when instrument isn't ready

You can now call "force_scan" to force an hmscan

r2685 | ffr | 2008-08-29 21:47:57 +1000 (Fri, 29 Aug 2008) | 3 lines
This commit is contained in:
Ferdi Franceschini
2008-08-29 21:47:57 +10:00
committed by Douglas Clowes
parent 6a3b8e2f49
commit e390dcb920

View File

@@ -34,6 +34,14 @@ set reset_position "false"
}
##
# @brief This is a convenience command which allows hmscans to be forced.
# Call this before calling hmscan run to force a scan if the instrument isn't ready.
proc force_scan {} {
set ::scan::force_scan "true"
}
publish force_scan user
proc ::scan::bm_scan_collect {sobj uobj point} {
set vlist [split [$sobj getvarpar 0] = ];