Page 1 of 1

Data acquisition problem

Posted: 13 May 2008, 06:24
by ianotto
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

MOBIlab

Posted: 13 May 2008, 09:01
by gschalk
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

Posted: 13 May 2008, 09:24
by ianotto
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.

MOBIlab

Posted: 13 May 2008, 09:48
by gschalk
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

Posted: 14 May 2008, 04:16
by ianotto
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

Posted: 14 May 2008, 05:16
by mellinger
Michel,

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

Regards,
Juergen

Posted: 14 May 2008, 10:54
by ianotto
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.

data acquisition ...

Posted: 14 May 2008, 11:38
by gschalk
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