Boxes: Fixed stimulation sending in LSL Export (GIPSA)
- Pushing out a signal chunk will now wait until the corresponding stimulation chunk has been received (it can be empty). This will fix issues where the box had sent out the signal chunk already before receiving the stimulation that would have belonged to its time range - Note that this solution will delay the signal if the stimulation stream is not dense and it takes a long time to receive a stim chunk - The box should still work if stimulation stream is not connected - Switched the 'InputChannel' approach to the more usual OV toolkit encoder/decoder convention for easier code maintainability - Added some tests for stimulations that are too close in time - Added warning about stimulation codes = 0 (as they would be invisible)
Showing with 158 additions and 102 deletions
This diff is collapsed.