Appconnector and dynamic update P300 flash table

Forum for software developers to discuss BCI2000 software development
Locked
kolodzim
Posts: 2
Joined: 05 Apr 2008, 14:52

Appconnector and dynamic update P300 flash table

Post by kolodzim » 05 Apr 2008, 15:06

Is it possible to update fleshing table using AppConnector (new characters for example or picture) in P300 speller, when system is running?

Can we update dynamic p300 flashing table in different way?

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

P3Speller

Post by gschalk » 06 Apr 2008, 20:28

Kolodzim,

I am not exactly sure how you would like to update the matrix. For example, the current implementation can be configured with multiple menus, so that selection of one cell in the matrix opens up a new matrix (of potentially different size) with different entries. These "nested" matrices are described in the P3Speller documentation on the Wiki.

If this is different from what you have in mind, please post in detail what you are trying to do so that we can make a recommendation on how to best realize it.

The Gerv

kolodzim
Posts: 2
Joined: 05 Apr 2008, 14:52

Post by kolodzim » 07 Apr 2008, 03:10

I’m afraid that menu isn’t a solution, because I don’t know a priori (before running BCI2000), what must be show in a screen (there are so many combination). So I need a connection between my external application and BCI2000. I must dynamic change this “picture” from outside BCI2000.

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

P3Speller

Post by gschalk » 07 Apr 2008, 07:26

Kolodzim,

I understand that you need to change the content of the cells during a run. This functionality is currently not implemented in the P3Speller. I also understand that the specific content of the cell is dependent on an external application.

What you need to do is to change the code of the P3Speller such that it can change images during a run. When this is done, you have to implement a mechanism to inform the P3Speller about which image to present. You could use the AppConnector to do this, i.e., setting state variables using the AppConnector that describe what's in the cells. The advantage of this is that the content of the cells would automatically be recorded in state variables, and thus in the data file. The alternative is that you implement your own TCP/IP-based protocol within the P3Speller.

I hope this helps.

Gerv

Locked

Who is online

Users browsing this forum: No registered users and 0 guests