Networking Widget

Hey guys, 

i downloaded the latest update [jun 17] of the OpenBCI_GUI and i saw that there is this new widget, with LSL and seria Port function for the ganglion. Nice to see. 

But of course i tried it out and i have some questions: 

First i tried the LSL function but i dont know how to activate it so that i can stream it with matlab (vis_stream). 
I tried as well to stream it to serial port but as well without succes.

Any help?

Best, 
Pascal
«1

Comments

  • GabeIbagonGabeIbagon San Diego, California
    edited July 2017
    Hi Paski - if you can describe your issue in more detail, I may be able to help. Are you simply unable to receive the stream in Matlab (but the GUI continues running fine)?

    In the meantime, you can view this document about using the Networking Widget (it is a work in progress, but should help you getting up and running. LSL is not mentioned explicitly, but you can follow the same directions as if you were using UDP or OSC).


    Secondly, I wrote a small program for testing the networking connectivity. It can send and receive a signal, so that you can test whether your configuration is set up correctly. It works for LSL, although the readme doesn't mention it explicitly. The usage is explained in the repository:

  • @Paski this patch will be in the release later this week
  • Hi @Gabelbagon and @pushtheworld

    i tried again with positiv results (for UDP, OSC and serial port  but not for LSL)

    Streaming with UDP and OSC was succesfull. To test it i used the Networking test kit (Thnaks :P). For serial port streaming i had to create two virtual serial ports and i could test the stream using Putty or Seriallab! However when i tried to stream with LSL the OpenBCI_GUi freezes. And i'm  not able to see any data flow/stream. 

    Best, 
    Pascal. 




  • GabeIbagonGabeIbagon San Diego, California
    @Paski, this sounds like an "unsatisfied link error" (this message should appear in the Processing console). The reason for the error is that you need to point Processing to the new LSLLink library. I don't have exact instructions on hand right now, but I believe if you drag the contents of "libraries" from the OpenBCI_GUI repo into your Processing "libraries" folder and restart the program, it should work. You may also have to delete any other versions of the "LSLLink.jar" that may be in the repo or your Processing folder. We'll try to clarify these steps soon.
  • Hi @Gabelbagon

    sorry but i'm not able to fix it. I do not know what you mean with the Processing "Libraries" since i actually don't have intalled this program. 
    Thanks for all your answers! 

    Kind regards
    Pascal. 
  • @paski please download the latest GUI (just updated today on OpenBCI.com) and see if this bundled app works!
  • Hi @Pushtheworld

    actually i downloaded the latest GUI, and the LSL Networking widget freezed the complete GUI, like the last version.  

  • @Paski

    It's not working? I thought you just posted it was, you are on windows right?

    If your GUI in Program Files?

    Should look like:
    "Program FIles/OpenBCI_GUI/OpenBCI_GUI.exe"

    Thanks

    AJ
  • Hi @Pushtheworld

    This morning i tried it out. But without succes. Then this afternoon i asked in  other threat to now if the others have some issue. But it seems to work. 

    However, i'm not able. The GUI freezes. 

    Yes, the GUI is in "Program FIles/OpenBCI_GUI/" and i run as admin. 

    Some suggestion?

    Pascal. 


  • this is with cyton or ganglion?

    Can you attach screen shot of the screen that it freezes on?

    Sorry you are having continued struggles. 
  • Hi @Pushtheworld

    I have the  Ganglion. 

    Thanks for your answers :P

  • Hi!

    I also have a Ganglion board and the upgraded GUI (July 20) still freezes with LSL. By the way, I've tried it on my PC ASUS (Win10).
    Screenshot: https://prnt.sc/fynrs6

    Thanks.
  • edited July 2017
    @Paski @Cristhian

    This was 100% my fault. The LSL library was updated and I had not updated the library on the build computers. 

    Please re download the latest gui for your operating system of choice.

    Thanks and sorry! Need a better system for indicating when a library needs to be updated.



  • @pushtheworld

    thanks for your fast replay. I re-downloaded the GUI, and it still freezes :S:S

  • what os are you 32 or 64
  • edited July 2017
    Hi  @pushtheworld,

    i'm using Win 10, 64.  
  • Hi! @pushtheworld.

    The GUI still freezes with Ganglion and LSL protocol. 
    I noticed that in Synthetic (algorithmic) mode, the GUI froze with LSL when I selected 4 channels, but this does not happen with 8 or 16 channels. Maybe that explains a bit why (some users) Ganglion board users have not been successful with LSL. 

    Thanks.
  • Can either of you run the GUI from processing and tell post what error your getting?
  • I downloaded and install Processing 3 and OpenBCI_GUI-master from Github. I draged OpenBCI_GUI-master into Documents/Processing and I draged too contents of OpenBCI_GUI-master/libraries into Documents/Processing/libraries. I executed a pde file and I tried to connect my Ganglion but I got the following:


    The GUI does not detect my Ganglion. However, in Synthetic (algorithmic) mode the GUI is no longer frozen when I select LSL with 4 channels.
    Thanks.





  • It worked for me. Thank you very much.
  • @cristhian

    Could you please clarify what you mean by "it worked for me"? Does that mean you were able to run the ganglion in the GUI AND LSL worked on ganglion?

    Thanks

    AJ

  • Yes, now LSL works fine with Ganglion and Processing!

    Thanks.
  • wjcroftwjcroft Mount Shasta, CA
    Fantastic, AJ. And congrats to the whole team, @GabeIbagon, @Conor, @biomurph. The LabStreamingLayer direct GUI support will greatly aid research and university adoption of @openbci tools.
  • edited July 2017
    @Cristhian

    In Processing, could you please go to "File->Export Application" and include java for 64 bit and only export a windows build.

    This will produce two folders in the OpenBCI_GUI folder, "application.windows32" and "application.windows64".

    Can you please zip the "application.windows64" folder and add it to a website for me to download from? Also @Paski can too. I want to see if that build works on my computer! 

    This would really be a huge help! 
  • @wjcroft i agree! i think this will help a lot! i am really motivated to stabilize it. 
  • @pushtheworld Yes!!!!!!!! It worked as well for me! Yupiiii :D:D:D Thanks to all!

    OpenBci_GUI with LSL funtion works with ganglion hub and processing!

    Soon i will zip the application.

    So i guess, that we can mark as solved these threads:
     http://openbci.com/forum/index.php?p=/discussion/1130/gui-v2-1-2-freezes-when-starting-with-lsl-streaming#latest and

     http://openbci.com/forum/index.php?p=/discussion/968/ganglion-no-com-port-new-gui-lsl-widget-with-openvibe-brainbay-neurofeedback#latest



  • Hi Everyone,

    I have the same problem that the OpenBCI_GUI freezes when I try to stream with LSL protocol. It worked well in case of OSC and UDP protocols. I have a Cyton board and run the OpenBCI GUI on macOS Sierra.

    I read the thread but the solution was for the Ganglion board. Could you please help me with my Cyton board?

    Thanks.
  • Did you try running from processing?
  • edited July 2017
    Hi @pushtheworld,

    As running from Processing, it seems that I have a problem with the location of placing the file liblsl64.dylib. The screenshot of the error generated by Processing when I tried to start LSL streaming protocol is in the following link


    The following path is where I actually place the file.

    /Processing/libraries/LSLLink/src/main/resources/liblsl64.dylib

    Could you give me your opinions if there is anything wrong in my setup environment?

    Thanks.
Sign In or Register to comment.