Commit f497d4f1 authored by Jesse Heckman's avatar Jesse Heckman

implement wait for trigger

parent 11c5135b
......@@ -30,10 +30,8 @@ function pb_vRunExp(handles)
Dat = pb_dataobj(nblocks);
% initialize recordings
if ~debug
rc = pb_runPupil;
[ses,str] = pb_runLSL;
end
rc = pb_runPupil;
[ses,str] = pb_runLSL;
expTime = tic;
%% START BLOCK
......@@ -48,10 +46,8 @@ function pb_vRunExp(handles)
pb_vCheckServo(~ismac && ~debug);
% start recording
if ~debug
pb_startLSL(ses);
pb_startPupil(rc);
end
pb_startLSL(ses);
pb_startPupil(rc);
% start vestibular chair
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