Zapit-Optostim / zapit

General purpose optostimulation system
GNU Lesser General Public License v2.1
6 stars 1 forks source link

Abstract DAQ call in stopOptoStim #141

Closed raacampbell closed 11 months ago

raacampbell commented 11 months ago

Nasty:

    % Do not try to run if we are presenting a stimulus of a finite length
    % TODO: the following DAQ line should be abstracted away. 
    if obj.simulated==0 && strcmp(obj.DAQ.hAO.Timing.SampleQuantityMode,'FiniteSamples')
        return
    end
raacampbell commented 11 months ago

08194c4094d8e14ab7856779a3c1062d4e42977c