Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jesse Heckman
pbtoolbox
Commits
1e0bda45
Commit
1e0bda45
authored
Nov 29, 2018
by
Jesse Heckman
Browse files
added servo enable check to vPrime
parent
170d66d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
setups/vestibular chair/vPrime/core/experiment/block/pb_vCheckServo.m
0 → 100644
View file @
1e0bda45
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) %
% %
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
setups/vestibular chair/vPrime/core/pb_vRunExp.m
View file @
1e0bda45
...
...
@@ -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
);
...
...
subtools/servo/pb_startServo.m
View file @
1e0bda45
...
...
@@ -7,8 +7,6 @@ function vs = pb_startServo(vs)
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
vs
.
enable
;
pause
(
1
);
vs
.
start
;
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment