Streaming data from GUI

I'm using the OpenBCI GUI with WIndows 10, along with the Cyton board. Everything seems to be working great. I see signals, I can change different panes, etc. But according to one of the OpenBCI docs I should also be able to stream the data using either OpenBCI LSL or OpenBCI GUI. I can't see any button that turns the streaming on or off -- or how to specify the filename it'll be saved to. I CAN see a tab that lets me choose between taking new data or reading data that has been streamed, but I want to CREATE a file like that. How?

Comments

  • wjcroftwjcroft Mount Shasta, CA

    DePaola, hi.

    You can stream out LSL either from the GUI, or from the Python repos.

    https://docs.openbci.com/docs/06Software/01-OpenBCISoftware/GUIWidgets#lsl
    https://github.com/OpenBCI/pyOpenBCI

    Your statement: "...but I want to CREATE a file like that." is not quite correct. The LSL streaming does not create a FILE, if outputs a data stream (over your local internet), that is consumed by a client program. Such as OpenViBE, Matlab, etc. So the stream has a name, but it is not a 'filename' per say. It is a stream name, as you can see in the above link.

    Regards, WIlliam

  • Yeah, I know about the streaming from LSL (see my first comment) but right now I'm interested in the GUI. The docs for the GUI say I can save my streamed data as a file. They say that the data will be saved to the (I think) GUI directory and that the file will be closed either when the max time has expired or when I pause the data stream.

  • retiututretiutut Louisiana, USA
    edited November 2019

    In the latest GUI, clicking "load playback file" or "sample data" in the control panel with bring you straight to the Documents/OpenBCI_GUI/ directory on all operating systems so users can easily locate saved data.

  • This must be very, very recent -- but a nice change.

  • Ok, this is sort of not GUI, but it is "streaming data" related. I tried using the LSL package. I can't use its GUI for strange reasons I have not yet figured out. But from the command line it seems to be working: It says everything is connected, it tells me the commands /start, /stop, and /exit, and when I issue those commands it seems to think it is streaming -- and the red LED on my dongle lights up. But I see no "streaming". I expected to see a bunch of number scrolling by on the screen or a file being produced or something. If not, then what is meant by streaming? If so, why am I not seeing anything. I get this result when I run LSL in Windows 10 or in the Win10 Ubuntu window. I have not yet tried this on my pure Linux system. Any ideas?

  • retiututretiutut Louisiana, USA
    edited November 2019

    All I have to say is that LSL streaming works and I’ve tested it many times with multiple OS and 3rd party apps and Python.

  • retiututretiutut Louisiana, USA

    Also, you can try this from a cool Youtuber:
    https://gist.github.com/Sentdex/300d0c5e41a6404fc93bc2e93d52c278

    It works when you set the GUI Networking Widget to LSL, select FFT as a data type, and set #Chan to 125.

    I will be removing the entire “# Chan” text field in the next GUI because it is weird and misnamed.

  • And it works NOT in GUI mode? I'll read more and tinker more. When I get it to work, I'll post what I had been doing wrong.

Sign In or Register to comment.