Hi,
I'm using the trial manager which is working very well most of the time, however, occasionally it throws the following error (usually after at least ~150 trials) which causes Bpod to crash and require a reset:
Error using ArCOMObject_Bpod/read (line 348)
Error: The serial port returned 0 bytes.
Error in TrialManagerObject/startTrial (line 89)
SMA_Confirmed = BpodSystem.SerialPort.read(1, 'uint8');
Error in Sequence (line 346)
TrialManager.startTrial(); % Start processing the next trial's events (call with no argument since SM was already
sent)
Assembly time of the SM is consistent across trials and shorter than my minimum trial time. This error does not consistently occur every time, but does occur across multiple setups.
I am using Gen2 BPod with a R1.0 state machine running v1.58.
Thanks!