Writing data to file from a custom widget

edited March 2018 in OpenBCI_GUI
Hello, I'm trying to implement a P300 speller as a widget screen in the Processing 3.x code of OpenBCI_GUI.  I need to record information about the flashing letter stimuli to a text file so I can match it up with the raw samples later. I first attempted to use a StringBuilder and BufferedWriter but I could not figure out how to do the exception handling for IOExceptions. (IDE will say something like "Exception IOException is not compatible with throws clause in OpenBCI_GUI.Widget.update()." ) I took a look at DataLogging.pde and it seems to be written only for writing raw BCI samples. What is the recommended way to go about this?
Sign In or Register to comment.