Data acquisition problem

Forum for software developers to discuss BCI2000 software development
Locked
ianotto
Posts: 4
Joined: 13 May 2008, 06:15

Data acquisition problem

Post by ianotto » 13 May 2008, 06:24

Hello,

We have got a problem with data acquisition. When we launch the file P3Speller_gMOBIlab.bat we have got this message : gMOBIlabADC::Preflight: Could not initialize device at COM port COM7: .

Can you help us please.

Michel Ianotto

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

MOBIlab

Post by gschalk » 13 May 2008, 09:01

Michel,

The MOBIlab is connected through a serial port. The serial port can vary depending on your system, and thus the default com port setting may not work.

You first need to find out the serial port number your MOBIlab is identified as. You do this in the Windows Control Panel under System->Hardware. Once you have this information, you need to start BCI2000, load the appropriate parameter file, and change the com port number.

Gerv

ianotto
Posts: 4
Joined: 13 May 2008, 06:15

Post by ianotto » 13 May 2008, 09:24

I think that COM7 is the right number port to communicate with the
BCI (the default com port number was COM2 which was changed to COM7)

Michel Ianotto.

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

MOBIlab

Post by gschalk » 13 May 2008, 09:48

Michel,

There are two more things I can think of:
1) The MOBIlab is not turned on
2) You actually have the MOBIlab+ (blue tooth), not the MOBIlab. If that is the case, you need to load the MOBIlab+ source module in the batch file instead of the MOBIlab source module.

Gerv

ianotto
Posts: 4
Joined: 13 May 2008, 06:15

Post by ianotto » 14 May 2008, 04:16

Yes, we have a blue tooth connection in the BCI.
In the file P3Speller_GMOBIlab.bat, I replaced the command "start gMobilab.exe" with the command "start gMobilabPlus.exe". The communication between the PC and the BCI seems to work (we have signals in the Source Signal window) but when we clik on the set config button we have got this message in the System log window :
14/05/2008 10:03:15 - Normalizer::Preflight: State "Feedback" is inaccessible.
14/05/2008 10:03:15 - Normalizer::Preflight: State "Feedback" is inaccessible.
14/05/2008 10:03:15 - Normalizer::Preflight: State "TargetCode" is inaccessible.
14/05/2008 10:03:15 - Normalizer::Preflight: State "Feedback" is inaccessible.
14/05/2008 10:03:15 - Normalizer::Preflight: State "TargetCode" is inaccessible.

and the "Start button" of the main window is not active.

Michel Ianotto

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

Post by mellinger » 14 May 2008, 05:16

Michel,

please load an appropriate parameter file before clicking "SetConfig". For your configuration, parms/examples/P3Speller_CopySpelling.prm should work.

Regards,
Juergen

ianotto
Posts: 4
Joined: 13 May 2008, 06:15

Post by ianotto » 14 May 2008, 10:54

Thank you, the P3Speller works well.

Now, I want to develop a software which only do signal acquisition. I use the gMOBIlabPlus project which is provided with the BCI2000 package. I compile it with C++ builder 2007 but the execution of the program does'nt
work. What is the good maner to develop this kind of software without using and launching the "operator" module.

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

data acquisition ...

Post by gschalk » 14 May 2008, 11:38

Michel,

At present, you need to be using all four modules to create a functional system, i.e., data acquisition, signal processing, the application, and the operator. However, you can use a signal processing module and application module that basically do not do anything. The DummySignalProcessing module already does that, and you could take, e.g., the P3Speller module and take out its functionality. Furthermore, there are command line options for the Operator that are described on

http://www.bci2000.org/wiki/index.php/U ... ne_Options

that you can use to automatically load a parameter file and start operation. With this, while you still need to execute all four modules, you can implement what you are trying to do. For BCI2000 v3.0, we will dramatically increase the power of the scripting capabilities, and will provide the capability to start and remotely control BCI2000 without the existing Operator GUI.

Gerv

Locked

Who is online

Users browsing this forum: No registered users and 0 guests