Page 1 of 1

Only receiving "Running 1"

Posted: 30 May 2016, 05:45
by lavincent
Hi all,
I'm continuing my experiment with BCI2000. I've design my own application and now I'm trying to connect bci to it.
I've created an UDP socket with port 5000. In ConnectorOutputAddress i wrote "localhost:5000" (bci and app are on the same computer).

So, the connections starts correctly but the only info I can receive is "Running 1" (or "Running 0" when suspend). I'm programming in C#.
I'm trying to receive signals from CursorTask_SignalGenerator file batch.

Ideas to receive all signal informations?

Thank you.

Re: Only receiving "Running 1"

Posted: 01 Jun 2016, 16:51
by pbrunner

you should be receiving more state. It could be that your C# implementation is faulty. Can you please try the AppConnectorExample or the readudp.m MATLAB script as detailed in the tutorial: ... _Connector

Regards, Peter

Re: Only receiving "Running 1"

Posted: 02 Jun 2016, 12:42
by lavincent
Hi Peter,
thank you for your continued support.

Yes, my code was somehow wrong.
If someone can find it helpful, I solved the problem adding the function .Recive() in more than one line. In this way, the socket is able to receive all UDP datagram.

Ty again,