Hi Josh,
First of all many thanks for the fantastic work designing the Bpod system!
As already raised in previous threads there is an issue with the two different syntax for LoadSerialMessages.
The following syntax works fine:
LoadSerialMessages('WavePlayer1', ['P' 1 0], ['P' 1 1], ['P' 1 2]);
It registers the messages with sequential message numbers 1, 2 and 3.
The following syntax however does not work fine:
LoadSerialMessages('WavePlayer1', ['P' 1 0], 11);
LoadSerialMessages('WavePlayer1', ['P' 1 1], 22);
LoadSerialMessages('WavePlayer1', ['P' 1 2], 33);
It only registers the last message but with message number 1 (instead of 33).
The issue is however solved by changing the line 44 in LoadSerialMessages.m from:
if nargin > 3
to:
if nargin >= 3