https://github.com/Rieke-Lab/turner-package
Raw File
Tip revision: e09ed136af28ceea83df29d84b6cf661d7361fb3 authored by Julian Freedland on 22 December 2020, 18:50:40 UTC
rig F
Tip revision: e09ed13
acquisitionShutterControl.m
function acquisitionShutterControl(src, evnt, varargin)

    hSI = evnt.Source.hSI;
    
    switch evnt.EventName
        case 'acqStart'
            hSI.hShutters.shuttersTransition(1,true);
%             fprintf('\nShutters Open\n');
        case {'acqDone' 'acqAbort'}
            hSI.hShutters.shuttersTransition(1,false);
%             fprintf('\nShutters Close\n');
        otherwise
            % Do Nothing.
    end

end
back to top