Hi Josh,
I'd like to send a 200 Hz (AcqRate) output TTL signal through one of the BNC ports.
I use the following code:
sma = SetGlobalTimer(sma, 'TimerID', 2, 'Duration', 0.001, 'OnsetDelay', 0, 'Channel', 'BNC2', ...
'OnsetValue', 1, 'OffsetValue', 0, 'LoopMode', 1, 'EventsEnabled', 1, 'LoopInterval', (1/S.GUI.AcqRate) - 0.001);
When running the BPod protocol containing the above timer, the BPod console display lags by several seconds from the very beginning of the start of the BPod protocol, that includes state name display and button displays (green/black color switch).
There is no such display issue at frequencies up to 190 Hz.
Although this problem is not critical for running the Bpod protocol it is very impractical to follow what the animal does in real-time.
I am using BPod machine r2, firmware v23, and BPod software 1.81 in Matlab 2021b.
Thanks!
Aurelie