Open raacampbell opened 4 years ago
Finish file will now be made: 5fcbbd6d1fbee569bfb7fb0d4678aa0f551de133
Ok: the error is that it fails to make the preview image stack as follows:
* Section 279
Logging to file F:\FMR012_CI014_AL048_KS038\rawData\FMR012_CI014_AL048_KS038-0279\acquisition_log.txt
MSG#1 -- ATTACH LOGGER -- [loghandler,loghandler.attachLogObject -> bake -> bake_callback -> @(varargin)obj.bake_callback(varargin{:})]
Setting up z-scanning with "step" waveform
Armed scanner: 07-Apr-2021 22:24:20
Failed to make preview image stack!
imRows:
NaN
imCols:
NaN
tp:
-3.8477 -6.2561
MSG#1 -- DETACH LOGGER -- [loghandler,loghandler.detachLogObject -> bakeCleanupFun -> @()bakeCleanupFun(obj) -> onCleanup.delete -> bake -> bake_callback -> @(varargin)obj.bake_callback(varargin{:})]
Then the error is:
Closed log files
FAILURE -- Scanner still in acquisition mode. Can not disarm. -- [,SIBT.disarmScanner{141} -> bakeCleanupFun{13} -> @()bakeCleanupFun(obj){74} -> onCleanup.delete{81} -> bake{25} -> bake_callback{52} -> @(varargin)obj.bake_callback(varargin{:}){61}]
resetting abort flags
Tearing down scanner
Requested 284 slices: this is 14.20 mm thick but only 0.39 mm is possible. You can cut a maximum of 6 slices.
BAKE FAILED IN acquisition_view. CAUGHT THE FOLLOWING ERROR:
NaN and Inf not allowed.
Line 47 in C:\MATLAB\BakingTray\code\@BT\initialisePreviewImageData.m
Line 27 in C:\MATLAB\BakingTray\code\@BT\runTileScan.m
Line 208 in C:\MATLAB\BakingTray\code\@BT\bake.m
Line 52 in C:\MATLAB\BakingTray\code\+BakingTray\+gui\@acquisition_view\bake_callback.m
Line 61 in C:\MATLAB\BakingTray\code\+BakingTray\+gui\@acquisition_view\buildFigure.m
Error using zeros
NaN and Inf not allowed.
Error in BT/initialisePreviewImageData (line 47)
obj.lastPreviewImageStack = zeros([imRows,imCols, ...
Error in BT/runTileScan (line 27)
obj.initialisePreviewImageData(obj.currentTilePattern);
Error in BT/bake (line 208)
if ~obj.runTileScan
Error in BakingTray.gui.acquisition_view/bake_callback (line 52)
sectionInd = obj.model.bake; %if the bake loop didn't start, it returns 0
Error in BakingTray.gui.acquisition_view/buildFigure>@(varargin)obj.bake_callback(varargin{:}) (line 61)
'Callback', @obj.bake_callback, ...
Error while evaluating UIControl Callback.
No FINISHED file made. Likely it should stitch. Or maybe it should stitch if it go over 75% of the way through?