Skip to content

Commit e0150a3

Browse files
committed
Fix bug with Brainflow streamer on Windows #1190
1 parent ecf5fff commit e0150a3

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
- Update to BrainFlow 5.10.0
99
- Update to GUI Helpers 2.0.0 #1187
1010

11+
### Bug Fixes
12+
- Fix BrainFlow error when outputting to BDF and BrainFlow streaming is enabled #1105
13+
- Fix BrainFlow streamer on Windows #1190
14+
1115
# v5.2.2
1216

1317
### Improvements

OpenBCI_GUI/BoardBrainflow.pde

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ abstract class BoardBrainFlow extends Board {
4040
e.printStackTrace();
4141
}
4242
boardShim.prepare_session();
43+
/*
44+
//This does not seem to work with Windows and Processing.
45+
//For now, we will add a streamer using argument for start_stream(). -RW 9/18/2023
4346
if (brainflowStreamer != "")
4447
boardShim.add_streamer(brainflowStreamer);
48+
*/
4549
return true;
4650

4751
} catch (Exception e) {
@@ -80,7 +84,7 @@ abstract class BoardBrainFlow extends Board {
8084
}
8185

8286
try {
83-
boardShim.start_stream (450000);
87+
boardShim.start_stream (450000, brainflowStreamer);
8488
streaming = true;
8589
}
8690
catch (BrainFlowError e) {

OpenBCI_GUI/OpenBCI_GUI.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
6262
// Global Variables & Instances
6363
//------------------------------------------------------------------------
6464
//Used to check GUI version in TopNav.pde and displayed on the splash screen on startup
65-
String localGUIVersionString = "v6.0.0-alpha.3";
65+
String localGUIVersionString = "v6.0.0-alpha.4";
6666
String localGUIVersionDate = "September 2023";
6767
String guiLatestVersionGithubAPI = "https://api.github.com/repos/OpenBCI/OpenBCI_GUI/releases/latest";
6868
String guiLatestReleaseLocation = "https://github.com/OpenBCI/OpenBCI_GUI/releases/latest";

0 commit comments

Comments
 (0)