Skip to content

Commit

Permalink
Titta: advanced cal: be more conservative about launching a calibrati…
Browse files Browse the repository at this point in the history
…on compute. don't do so when a calibration compute (or another actions such as loading) has already been launched, or when any points are marked as displaying, collecting, enqueuing or discarding)
  • Loading branch information
dcnieho committed Aug 14, 2024
1 parent 2946f74 commit 624008b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Titta.m
Original file line number Diff line number Diff line change
Expand Up @@ -6754,7 +6754,7 @@ function StopRecordAll(obj)
% see if we should do a calibration action, if
% requested
if qProcessDoCal
if strcmp(stage,'cal') && isempty(pointList) && ~isequal(pointsP(:,end),pointStateLastCal) && isempty(discardList)
if strcmp(stage,'cal') && isempty(awaitingCalChangeType) && ~any(pointsP(:,end)>1) && isempty(pointList) && ~isequal(pointsP(:,end),pointStateLastCal) && isempty(discardList)
% if in calibration mode and no
% further calibration points queued
% up for collection or discarding
Expand Down

0 comments on commit 624008b

Please sign in to comment.