Page 1 of 1

External application and BCI2000 using AppConnector

Posted: 10 Jun 2013, 10:15
by khosravifard
Hi,
I am running a simple external application in Java using AppConnector to BCI2000.I only want to send information to BCI2000:
I set localhost:5001 in my program and set Input IP in AppConnector to localhost:5001
also I set Output IP in AppConnector to localhost:20320 and BCI2000 configuration is ConnectorInputAddress: localhost:20320
and ConnectorInputFilter to *
after running the external application I send these data to AppConnector
CursorPosX 937\n
CursorPosY 1159\n
CursorPosZ 3152\n
Feedback 0\n
PauseApplication 0\n
Recording 1\n
ResultCode 0\n
Running 0\n
Signal(0,0) 82.9457\n
.....
But in AppConnector there is nothing to receive :
Receive = false Send = true
I wonder if anyone could help me.I would appreciate your help in advance.
Mina

Re: External application and BCI2000 using AppConnector

Posted: 10 Jun 2013, 11:48
by mellinger
I set localhost:5001 in my program and set Input IP in AppConnector to localhost:5001
also I set Output IP in AppConnector to localhost:20320 and BCI2000 configuration is ConnectorInputAddress: localhost:20320
Don't set ConnectorOutputAddress if you want to receive data. Set ConnectorInputAddress to the same IP address/UDP port used by your application to send data.

Please take some time to go through the configuration examples in the AppConnector documentation.

HTH,
Juergen