We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb71672 commit 1d7b589Copy full SHA for 1d7b589
1 file changed
OpenBCI_GUI/BoardBrainflow.pde
@@ -102,9 +102,13 @@ abstract class BoardBrainFlow extends Board {
102
time_last_datapoint = -1.0;
103
}
104
catch (BrainFlowError e) {
105
- println("ERROR: Exception when stoppping stream");
+ outputError("ERROR: Exception when stopping stream. Please restart the Board and Session.");
106
e.printStackTrace();
107
- streaming = true;
+ //If no data was received in X seconds, there is a serious problem with communications. Go ahead and stop trying to collect data.
108
+ //Prevents feedback loop of errors.
109
+ if (data_popup_displayed) {
110
+ streaming = false;
111
+ }
112
113
114
if (eegDataSource != DATASOURCE_PLAYBACKFILE && eegDataSource != DATASOURCE_STREAMING) {
0 commit comments