Hi Josh,
I have some problems with the trial manager- when I try to prepare the state machine and run the first trial using this code:
%% Prepare and start first trial
sma = PrepareStateMachine(S, TrialTypes, 1, []); % Prepare state machine for trial 1 with empty "current events" variable
TrialManager.startTrial(sma); % Sends & starts running first trial's state machine. A MATLAB timer object updates the
% console UI, while code below proceeds in parallel.
I get the following error:
Error using TrialManagerObject/startTrial
Error: The last state machine sent was not acknowledged by the Bpod device.Error in TrialManager (line 94)
TrialManager.startTrial(sma); % Sends & starts running first trial's state machine. A MATLAB timer object updates the error in run (line 91)
evalin('caller', strcat(script, ';'));Error in NewLaunchManager>LaunchProtocol (line 717)
run(ProtocolPath);
If you have any ideas on how to solve it- it would be highly appreciated!
Thanks,
Xenia