Commit 1e0bda45 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

added servo enable check to vPrime

parent 170d66d3
function pb_vCheckServo
% PB_VCHECKSERVO()
%
% PB_VCHECKSERVO() ...
%
% See also ...
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
answer = questdlg('Please enable Servo before you continue...','Continue');
end
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
% %
% Part of Programmeer Beer Toolbox (PBToolbox) %
% Written by: Jesse J. Heckman (2018) %
% %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
......@@ -52,7 +52,8 @@ function pb_vRunExp(handles)
pb_startPupil(rc);
% start vestibular chair
if ~ismac && ~debug
if ~ismac && ~debug
pb_vCheckServo;
vs = pb_sendServo(profile);
blockTime = tic;
pb_startServo(vs);
......
......@@ -7,8 +7,6 @@ function vs = pb_startServo(vs)
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
vs.enable;
pause(1);
vs.start;
end
......
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