OpenBCI_GUI icon indicating copy to clipboard operation
OpenBCI_GUI copied to clipboard

Major Refactor of Networking Widget

Open retiutut opened this issue 4 years ago • 2 comments

Problem

W_Networking.pde is a "hot mess".

Expected

  • Remove unnecessary code
  • Reconfirm all data outputs for all data modes or improve as needed

Operating System and Version

All OS

GUI Version

v5.0.4

Running standalone app

App and Dev

Type of OpenBCI Board

All boards

Are you using a WiFi Shield?

All boards

Console Log

It's great that the networking widget prints information to console when new stream is started. Keep doing this!


  • [ ] For certain data types, Networking widget does not stream data unless the corresponding widget is open. GUI 5.0.4 streams out 0's or null instead. Begin to look into this. Make a new ticket if it seems reasonably possible to compute all data in the background even if some widgets aren't open.

  • [ ] Remove unnecessary code

  • [ ] Reconfirm all data outputs for all data modes or improve as needed

  • [ ] LSL - Look at all instances of push_sample and push_chunk to see what is correct and proper, and make changes so that this networking mode is refined and can operate as the "most-used" protocol.

  • [ ] Double check networking output guide.... mention that data may be sent in "chunks"for LSL and maybe other data modes. (e.g. [[sample1 s1 s1 s1],[sample2 s2 s2 s2],[sample3 etc.]] )

  • [ ] Confirm and review Serial

  • [ ] Confirm and review UDP

  • [ ] Confirm and review OSC

  • [ ] Confirm and review LSL

retiutut avatar May 07 '21 21:05 retiutut

Another user has noticed some possible quirky behavior in https://github.com/OpenBCI/OpenBCI_GUI/issues/989

retiutut avatar Aug 18 '21 04:08 retiutut

Relates heavily to https://github.com/OpenBCI/OpenBCI_GUI/issues/1042

retiutut avatar Aug 15 '22 16:08 retiutut

Workable fix exists using NeuroFly project GUI. Port fixes to networking widget there to the public GUI.

retiutut avatar May 31 '23 19:05 retiutut

For certain data types, Networking widget does not stream data unless the corresponding widget is open. GUI 5.0.4 streams out 0's or null instead. Begin to look into this. Make a new ticket if it seems reasonably possible to compute all data in the background even if some widgets aren't open. https://github.com/OpenBCI/OpenBCI_GUI/issues/1094

retiutut avatar Jun 14 '23 18:06 retiutut