From f497d4f1c10a8e5ad1173531c629f59e676202af Mon Sep 17 00:00:00 2001 From: Jesse Heckman Date: Thu, 13 Jun 2019 13:48:07 +0200 Subject: [PATCH] implement wait for trigger --- .../vPrime/core/experiment/pb_vRunExp.m | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m b/setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m index c52c718..432f747 100644 --- a/setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m +++ b/setups/vestibular chair/vPrime/core/experiment/pb_vRunExp.m @@ -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 -- GitLab