Commit f497d4f1 authored by Jesse Heckman's avatar Jesse Heckman

implement wait for trigger

parent 11c5135b
...@@ -30,10 +30,8 @@ function pb_vRunExp(handles) ...@@ -30,10 +30,8 @@ function pb_vRunExp(handles)
Dat = pb_dataobj(nblocks); Dat = pb_dataobj(nblocks);
% initialize recordings % initialize recordings
if ~debug rc = pb_runPupil;
rc = pb_runPupil; [ses,str] = pb_runLSL;
[ses,str] = pb_runLSL;
end
expTime = tic; expTime = tic;
%% START BLOCK %% START BLOCK
...@@ -48,10 +46,8 @@ function pb_vRunExp(handles) ...@@ -48,10 +46,8 @@ function pb_vRunExp(handles)
pb_vCheckServo(~ismac && ~debug); pb_vCheckServo(~ismac && ~debug);
% start recording % start recording
if ~debug pb_startLSL(ses);
pb_startLSL(ses); pb_startPupil(rc);
pb_startPupil(rc);
end
% start vestibular chair % start vestibular chair
if ~ismac && ~debug if ~ismac && ~debug
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment