Page 1 of 1
bci2000-Matlab connection
Posted: 27 Oct 2009, 19:28
by AnitaB
Hello,
I'm working with bci2000 to process an EEG signal acquired with G-USBamp. What I have to do is to allow the interaction of a quadriplegic person with the room they live.
The problem I have is that I want the info from bci2000 to matlab. I'm using the local host with a UDP port where matlab will retrieve it. But it's not happening. The info does not go to matlab.
Do I need to make other specificationes besides the port where bci2000 should send the info?
Thanks,
Posted: 28 Oct 2009, 06:04
by mellinger
Anita,
are you using the AppConnector protocol, or the P3Speller's UDP output?
In case of the latter, you might check this post:
http://www.bci2000.org/phpbb/viewtopic.php?p=1820#1820
for an example how to receive speller output in Matlab.
Regards,
Juergen
Posted: 29 Oct 2009, 23:48
by steven.b.smith
Anita,
I am doing the exact same thing! And I actually figured out how to do it the day you posted to this forum! I typed up a set of notes in PDF that can help you get started. Email me at
sbs34@drexel.edu if you want them. They are very rudimentary, however, as I haven't created an automatic processes yet, and I am still working on the synchronization between matlab and BCI.
Also, who are you working with on this? I am working on a similar problem concerning ALS patients as my Senior Design Project at Drexel University in Philadelphia, PA.
Posted: 29 Oct 2009, 23:55
by steven.b.smith
..also, when you say that you are allowing a quadriplegic interaction with the room in which they live, what you do mean by that? Do you mean manipulating environmental entities? If so, how are you achieving this?
Posted: 02 Nov 2009, 14:21
by AnitaB
Hi,
Mellinger and steven.b.smith we're having this problem:
when we run the program mellinger gives us, the info is not read and get this on Matlab:
"Warning: A timeout occurred before the Terminator was reached"
It's like BCI2000 is not sending the info to the port.
The same happens when we run steven.b.smith's program. It's very similar to what Melliger gave
Posted: 04 Nov 2009, 11:06
by mellinger
Anita,
are you using the AppConnector protocol, or the P3Speller's output option?
Juergen