Communication between modules

Forum for software developers to discuss BCI2000 software development
Locked
Gesanan
Posts: 5
Joined: 20 Jan 2009, 11:13

Communication between modules

Post by Gesanan » 14 Apr 2009, 10:20

I have problems with the communication between the Signal Processing
and the User Application modules.

I have designed an application module based on ApplicationBase Class.
During preflight process, in my application module input signal the
number of channels is 0 so I do not be able to establish a
communication.

Thanks a lot.

Gesanan

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

Application Module ...

Post by gschalk » 14 Apr 2009, 20:53

Gesanan,

There are two possible ways to solve your problem:

1) Fix your code
2) Take an existing application module and replace its functionality with your functionality

1) is possible, but may need a number of iterations and could take a long time
2) seems much more pragmatic. I would simply take a simple demo, e.g., the FeedbackDemo, and simply change its constructor, destructor, Preflight(), Initialize(), and Process() functions to do what you need the app to do.

Gerv

Locked

Who is online

Users browsing this forum: No registered users and 0 guests