External application and BCI2000 using AppConnector

Forum for software developers to discuss BCI2000 software development
Locked
khosravifard
Posts: 11
Joined: 30 Dec 2012, 10:02

External application and BCI2000 using AppConnector

Post by khosravifard » 10 Jun 2013, 10:15

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

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: External application and BCI2000 using AppConnector

Post by mellinger » 10 Jun 2013, 11:48

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

Locked

Who is online

Users browsing this forum: No registered users and 0 guests