Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview scan randomly does not start. Seems related to ROI drawing #448

Open
raacampbell opened this issue Jan 25, 2023 · 1 comment
Open
Labels

Comments

@raacampbell
Copy link
Collaborator

raacampbell commented Jan 25, 2023

Not easy to reproduce. Use can take a preview. Draw a box. Stop preview. Etc. Then suddenly a preview will fail to start. The image remains white and the CLI complains of a missing object. It seems that ctrl-c will bring it back. There seems to be a uiwait hanging on in the background.

But with Peter he opened the acquisition view for the first time. Drew box. Hit preview. White screen and no preview...

@raacampbell
Copy link
Collaborator Author

Happened again today. On pressing ctrl-c we get these red errors at the CLI:

Operation terminated by user during uiwait (line 81)


In BakingTray.gui.acquisition_view/areaSelector (line 43)
    uiwait;

In BakingTray.gui.acquisition_view/buildFigure>@(varargin)obj.areaSelector(varargin{:}) (line 232)
        'Callback', @obj.areaSelector);
 
Error using scanimage.mroi.RoiDisplay/resetview (line 447)
Interrupt while evaluating DestroyedObject Callback.

BT.takeRapidPreview failed with error message:
Operation terminated by user
Invalid or deleted object.

Error in BakingTray.gui.acquisition_view/startPreviewScan (line 50)
        obj.updatePreviewEveryNTiles = origupdatePreviewEveryNTiles;

Error in BakingTray.gui.acquisition_view/buildFigure>@(varargin)obj.startPreviewScan(varargin{:}) (line 182)
        'Callback', @obj.startPreviewScan);
 
Error while evaluating DestroyedObject Callback.

>> 
>> 
>> 
Operation terminated by user during mltimerpackage (line 27)


In timercb (line 16)
    obj = mltimerpackage('GetList');
 
Operation terminated by user during serial/fgets (line 58)


In maitai/sendAndReceiveSerial (line 431)
            reply=fgets(obj.hC);

In maitai/isShutterOpen (line 222)
            [success,reply]=obj.sendAndReceiveSerial('SHUTTER?');

In maitai/isControllerConnected (line 107)
                [~,success] = obj.isShutterOpen;

In BakingTray.gui.laser_view/updateCurrentWavelength (line 285)
            if ~obj.model.laser.isControllerConnected

In BakingTray.gui.laser_view/regularGUIupdater (line 408)
                obj.updateCurrentWavelength

In BakingTray.gui.laser_view>@(~,~)obj.regularGUIupdater (line 82)
            obj.laserViewUpdateTimer.TimerFcn = @(~,~) obj.regularGUIupdater;

In timer/timercb (line 34)
            feval(val{1}, obj, eventStruct, val{2:end});

In timercb (line 24)
    timercb(obj(idxIntoTimerObject), varargin{2:end});
 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant