We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0eca9e commit c5ac87aCopy full SHA for c5ac87a
+eui/MControl.m
@@ -545,6 +545,10 @@ function beginExp(obj)
545
% See also SRV.STIMULUSCONTROL, EUI.EXPPANEL, EUI.ALYXPANEL
546
set([obj.BeginExpButton obj.RigOptionsButton], 'Enable', 'off'); % Grey out buttons
547
rig = obj.RemoteRigs.Selected; % Find which rig is selected
548
+ if strcmpi(rig.Status, 'running')
549
+ obj.log('Failed because another experiment is running');
550
+ return;
551
+ end
552
% Save the current instance of Alyx so that eui.ExpPanel can register water to the correct account
553
if ~obj.AlyxPanel.AlyxInstance.IsLoggedIn &&...
554
~strcmp(obj.NewExpSubject.Selected,'default') &&...
0 commit comments