Closed floesche closed 1 year ago
I believe the error is due to this line in the streaming run protocol.
active_ai_channels = nonzeros([p.chan1_rate>0 p.chan2_rate>0 p.chan3_rate>0 p.chan4_rate>0] .* [1 2 3 4])';
This produces an array [1 2 3 4] if all channels are active, but don't the channels need to be numbered [0 1 2 3] to be passed to the controller? Subtracting 1 from the end result should fix it if that is the problem, but I'll need to test it out on the arena to be sure that fixes it.
resolved with commit f621372fc59f244b92cd5bd44279c96a4a5bd963
Trying to run a protocol with streaming on 9fc7bd392e25599b791514dd0a1da92c8e59eb89 results in a Main Host with log activated, but the conductor stops working without a single trial sent to the Host:
The G4 Host receives:
The MATLAB command window shows: