Make sure bmon scans can save scratch files when the savetype is set to nosave.

r3624 | ffr | 2012-06-29 16:12:30 +1000 (Fri, 29 Jun 2012) | 2 lines
This commit is contained in:
Ferdi Franceschini
2012-06-29 16:12:30 +10:00
committed by Douglas Clowes
parent a2a9eb6f72
commit 9ef0bb8afd

View File

@@ -302,6 +302,7 @@ proc ::scan::bm_count {sobj uobj point mode preset} {
proc ::scan::bm_scan_prepare {sobj uobj} {
variable save_filetype
variable check_instrument_ready
variable force_scan
@@ -333,7 +334,7 @@ proc ::scan::bm_scan_prepare {sobj uobj} {
array set bm_fb [::scan::hdb_bmonscan -list feedback]
set ::histogram_memory::histmem_axes(SVAR) [SplitReply [sicslist [::scan::hdb_bmonscan -set scan_variable] hdb_path] ]
::nexus::newfile BEAM_MONITOR data
::nexus::newfile BEAM_MONITOR $save_filetype
#stdscan prepare $sobj $uobj;
clientput "Scan start: $scanstart, Scan step: $scanstep, Number of points: $numpoints"
clientput "Datatype: BEAM_MONITOR"