-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Networking Widget - June 2023 #1140
Conversation
43818a5
to
8a4227c
Compare
f7f7f25
to
ad1eb08
Compare
- allows for multiple streams - Tested using networking test kit
743d70f
to
6218ed2
Compare
…SeriesRaw data types
…ess textfields Add access modifiers to entire file
@mhrahmani you are welcome to review and test also! |
ICYMI I did a test: Mainly the Time Series crashes, and FFT has addressing conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just finished testing UDP with all boards and data types. The refactored networking widget is working well on my side! Here are my notes from testing:
- When receiving Cyton filtered/unfiltered UDP time series I am seeing that I am receiving 10 samples per channel (Only seeing 5 samples per channel for CytonDaisy, 8 for Ganglion). Would be good to add a note to the time series section of the output guide.
- CytonDaisy FFT UDP stream is too large to receive using networking test script. If I expand the receiving buffer size it works fine.
- I am only receiving 2 values when receiving the pulse UDP stream instead of 3.
- Receiving UDP stream average sampling rate for bandpower, FFT, focus is slower than actual board sampling rate for all 3 boards (not sure if this is expected since these require more compute). Seeing the same thing with EMG (~125Hz for all 3 boards). NOTE: Nevermind I just saw your note that all other outputs besides timeseries sampling rate should be equivalent to current framerate 👍
Checklist from #971
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.]] ) Update GUI Networking Widget Guide and Data Outputs Documentation#170
Confirm and review Serial
Confirm and review UDP
Confirm and review OSC
Confirm and review LSL