Hi josh and users,
I'm trying to run a protocol using TrialManager object, and I get one of the following two errors :
Error while evaluating TimerFcn for timer 'timer-2'
Index exceeds matrix dimensions.
Error using ArCOMObject_Bpod/read (line 348)
Error: The serial port returned 0 bytes.
Error in TrialManagerObject/startTrial (line 95)
TrialStartTimestampBytes = BpodSystem.SerialPort.read(8, 'uint8');
Error using TrialManagerObject/startTrial (line 93)
Error: The last state machine sent was not acknowledged by the Bpod device.
It occurs when I try to run a protocol that worked OK in the past, as well as another one that is under development.
Any idea what can be the reason?
Anything to do with TrialManager object's timer?
Thanks!
Noa