Skip to content
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

Document new GUI Marker Widget #188

Open
5 tasks
retiutut opened this issue Aug 16, 2023 · 1 comment
Open
5 tasks

Document new GUI Marker Widget #188

retiutut opened this issue Aug 16, 2023 · 1 comment
Assignees
Labels
highest-priority OpenBCI_GUI Relates to documenting the OpenBCI_GUI

Comments

@retiutut
Copy link
Member

OpenBCI/OpenBCI_GUI#1174

This allows software markers to be placed in GUI CSV and BrainFlow CSV files using UI Buttons, Keyboard Shortcuts, and a UDP Receiver.

  • This should be added to the GUI Widget Guide,
  • Outline how the UDP receiver works
  • Document that the UDP receiver expects a single float
  • Share link to sample Python script that sends UDP marker to GUI
  • Add to Networking Output Guide
@retiutut retiutut added the OpenBCI_GUI Relates to documenting the OpenBCI_GUI label Aug 16, 2023
@retiutut retiutut self-assigned this Aug 16, 2023
@retiutut
Copy link
Member Author

retiutut commented Sep 20, 2023

#190

  • It looks like there a few files where the whole file ended up as a diff for some reason. Can you double check your line endings and try restaging the files?
  • I'm not sure how to provide external triggers via something like netcat. Can you provide some information (PR comment is fine) on this? Should the external process listen or host the connection? Does the stream have to be started first?

In the included Python example in NetworkingTestScripts folder, we send a single float over UDP to the specified IP and Port. Though, the float is packed as a byte array.

The GUI will always listen on the specified port, and this does not use multicast. When the IP and Port are changed, the GUI will remake the UDP listener after leaving the textfield or pressing enter. A message will show at the bottom of the GUI and console log. This means the GUI and external process are completely independent and either can be started at any time.

Originally posted by @retiutut in OpenBCI/OpenBCI_GUI#1174 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
highest-priority OpenBCI_GUI Relates to documenting the OpenBCI_GUI
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant