Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in ArCOMObject_Bpod/read
#1
Hi Josh,

I'm running into this error fairly often in Bpod sessions > ~150 trials... Any idea what might be the issue? 

I am using the Hifi module to delivery sound stimuli, and am using the BNC input channel(s) to detect licking events (5V TTL) in a head-fixed mouse set-up with:

Bpod r2
Matlab R2021b with Psychtoolbox 3.0.18 installed
Ubuntu 20.04.4 LTS

Index exceeds the number of array elements. Index must not exceed 1.

Error in ArCOMObject_Bpod/read (line 395)
                        varargout{i} = uint8(obj.InBuffer(PosTongueos+nBytesRead-1));

Error in RunStateMachine (line 101)
            opCodeBytes = BpodSystem.SerialPort.read(2, 'uint8');

Error in RunStateMatrix (line 2)
RawEvents = RunStateMachine;

Error in Stage3_FixedLocation (line 300)
    RawEvents = RunStateMatrix; % Run the trial and return events

Error in run (line 91)
evalin('caller', strcat(script, ';'));

Error in NewLaunchManager>LaunchProtocol (line 717)
run(ProtocolPath);
 
Error while evaluating DestroyedObject Callback.
Reply


Messages In This Thread
Error in ArCOMObject_Bpod/read - by og100 - 05-23-2022, 08:01 PM
RE: Error in ArCOMObject_Bpod/read - by Josh - 05-25-2022, 01:55 AM
RE: Error in ArCOMObject_Bpod/read - by og100 - 06-10-2022, 02:36 PM

Forum Jump: