Page 1 of 1
The DAS_ADC component in 3.0?
Posted: 29 Jun 2010, 07:45
by fapplin
Hi,
I have downloaded and compiled the 3.0 version of BCI2000, but I don't see one of the modules that we need to look at.
The DAS_ADC module for communicating with Measurement Computing A/D boards doesn't seem to be anywhere (should be in CONTRIB).
Has this been removed for some reason?
Frank
Posted: 30 Jun 2010, 08:51
by mellinger
Frank,
the DAS source module was not present in the Visual Studio solution because it hadn't been added to the CMake build system.
I've added it now--please get the latest version of the BCI2000 source code, and try again.
Juergen
Posted: 07 Jul 2010, 12:50
by fapplin
Thanks, Jurgen.
Also, I'm reading your book, "A Practical Guide to Brain-Computer Interfacing with BCI2000." You guys do a great job of keeping things as simple as possible.
I have no EEG experience, but I will be aiding in the development of a portable EEG system that a colleague is developing. It will be communicating with a MC USB-2537 board, so hence, my questions. I am a C# and Java developer, but have done some C++ many years ago. So, this will be a bit of a challenge. If we could keep things in C# (even making calls via managed code) that would be great because we already have a host of experiments running in C#, but if not, we'll plow on with C++.
Thanks again for the help.
Frank
Posted: 09 Jul 2010, 09:23
by jawilson
Hello,
Just to follow up on your question about C#, there are no plans to port BCI2000 to C#. However, a similar project has already be accomplished using Python, so something similar using C# should be possible, if you want to take that on

. Alternatively, since BCI2000 modules communicate using TCP/IP, you could write your own C# application module that receives input from the rest of BCI2000. If you are interested, you can reply back and I'll give you more info on how this can be done.
Adam
Posted: 09 Jul 2010, 11:20
by fapplin
I have seen the Python version and it looks good. I've played with Python a bit and found it very powerful, but didn't not the variables without declarations (reminded me of my BASIC days).
I'd be interested in any info. you can provide me with that would allow a C# application talk to BCI2000. You've been very helpful!
Posted: 09 Jul 2010, 11:25
by jawilson
Depending on your needs, the simplest solution is to use the AppConnector interface. The app connector sends the processed data to a UDP internet port, which can then be read by any application WITHOUT the need for the BCI2000 framework. There are some examples in the BCI2000/src/contrib/AppConnectorApplications folder; there is some simple documentation at
http://msdn.microsoft.com/en-us/library ... lient.aspx for setting up UDP ports in C#.
If you need to take advantage of the BCI2000 framework in C#, then that is a MUCH larger enterprise

. But if you just need to get processed data for your application, then the AppConnector should suffice.
Adam