Does the GUI send pre-processed data when it streams via LSL
in OpenBCI_GUI
Hi,
I have been tinkering with streaming via LSL and to my understanding the GUI saves the data to a text file which is unprocessed so none of the Notch filtering or Bandpass filtering however is the same true for when its streamed via LSL.
Thank you
Comments
There is a filter "on/off" button in the Networking widget. I can confirm that turning this "On" will stream filtered data over LSL when you select the TimeSeries data type. Just checked the code for v5.0.4.
I think I remember debugging this early this year to make sure all of the packets are going through, and it should send TimeSeries data over LSL with no problems. For more advanced/automated setups, here is a BrainFlow + LSL Python script that was used to test/compare output with the GUI. This script does the two most important things: collect data from Board and stream out over LSL.
https://github.com/OpenBCI/OpenBCI_GUI/blob/v5.0.4/Networking-Test-Kit/LSL/brainflow_lsl.py
Hope this helps!
-RW
Hey,
This was perfect, thanks for the help!
I was also wondering whether there is a quantified delay between recording and receipt of data in MATLAB that the developers would have noted, i noticed that once the signals reach the end of the GUI window they transmit into the pipeline and are picked up, the window on the gui is 20seconds so does that mean 'live' data is actually 20second delayed. I have noticed that when I run the GUI from 0, it loads all the zeros into my matlab variable. I am trying to get the data live for a prosthetic project so having actual live data is a must!
Hope you can help!
Thank you
I'm not sure to make of what you are saying, as you may be making assumptions about how the GUI works.
BrainFlow happens to have a Matlab binding for such use cases. I think this will work out best if you need live data in Matlab. This should be more reliable than passing data through 2-3 layers of software.
Here are the links.
https://brainflow.readthedocs.io/en/stable/BuildBrainFlow.html#matlab
https://brainflow.readthedocs.io/en/stable/Examples.html#matlab
Take Care,
RW