Sending information from an application to BCI2000

Forum for software developers to discuss BCI2000 software development
Locked
minamoheb
Posts: 1
Joined: 19 Mar 2009, 14:06

Sending information from an application to BCI2000

Post by minamoheb » 19 Mar 2009, 14:09

Hello,

I am new to BCI2000 and I'd like to know whether there is a way to send information from an application to BCI2000.

And Is there a way to pause and continue the signal acquisition from an application?


Thank you

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

Controlling BCI2000 ...

Post by gschalk » 19 Mar 2009, 22:28

Hi,

This is a very good question.

You can control BCI2000 from other applications in two ways:
1) On a run-by-run basis
2) Within a run

ad 1)

See http://www.bci2000.org/wiki/index.php/U ... _Scripting
for command line options. With these, you can load defined parameter files, set the configuration, and start the system.

ad 2)

Within a run, you can control BCI2000 by injecting values for particular states into the running system using the AppConnector protocol described on

http://www.bci2000.org/wiki/index.php/T ... _Connector

Specifically to your question, you can set state "Running" to 0/1 to suspend/resume operation, or state "Recording" to 0/1 to stop/start recording.

Gerv

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

resume

Post by gschalk » 30 Mar 2009, 12:12

Mina,

Actually, to correct myself: you can currently not resume operation using the Running state and the AppConnector.

Gerv

Locked

Who is online

Users browsing this forum: No registered users and 0 guests