Page 1 of 1

BCI2000Launcher BuildError 200088

Posted: 31 Jul 2016, 06:41
by tinui
Hi,

I'm very trouble for this error.


detail
* Windows 7, 64 bit OS.
* Visual Studio 2012 Express (http://www.microsoft.com/en-us/download ... x?id=34673)
* Visual Studio 2012 Update 4 (https://www.microsoft.com/en-us/downloa ... x?id=39305)
* BCI2000 trunk (https://www.bci2000.org/svn/trunk)
* I made P3Speller_NIDAQ_mx.bat looking at this page(http://www.bci2000.org/bbs/viewtopic.php?f=9&p=9011).


Please tell me how to solve this error.
I want to as much as possible immediate reply.

thank you.

Re: BCI2000Launcher BuildError 200088

Posted: 01 Aug 2016, 15:28
by pbrunner
Tinui,

this error occurs in NIDAQ_mx source module and will require some debugging to isolate. First I would build BCI2000 without any extensions (e.g., I see you have the parallel port filter build). For this run the Configure.sh.cmd in the build directory and uncheck all EXTENSIONS* flags. Second, I would verify that you have NIDAQ MX driver version 8.5 (which is the version that this module was tested with) and that the board that you use is compatible with the NIDAQ MX driver version 8.5. If this is the case, you can build BCI2000 into debug mode, disable the app bundling by running the Configure.sh.cmd and unchecking the USE_APPLICATION_BUNDLES. To debug either comment out the line in your batch file where you start the NIDAQ_mx_Source.exe and start it from Visual Studio. Alternatively you can leave it in the batch file and attach to the NIDAQ_mx_Source process in Visual Studio. You then go through the NIDAQ_mx source module step by step until you experience the issue. Please report back once you have performed all these steps.

Regards, Peter

Re: BCI2000Launcher BuildError 200088

Posted: 02 Aug 2016, 09:16
by tinui
Peter,

I appreciate your kind response.

I tried to your proposed methods.
(・For this run the Configure.sh.cmd in the build directory and uncheck all EXTENSIONS* flags.
・ build BCI2000 into debug mode, disable the app bundling by running the Configure.sh.cmd and unchecking the USE_APPLICATION_BUNDLES.
・To debug either comment out the line in your batch file where you start the NIDAQ_mx_Source.exe and start it from Visual Studio. )

However,this error has been detected (fig.1).

Do you have any solution for this error ?

Best regards,
tinui

Re: BCI2000Launcher BuildError 200088

Posted: 02 Aug 2016, 12:23
by pbrunner
Tinui,

I forgot one critical step, you need to set a breakpoint each at the beginning of Preflight, Initialize and Process functions before you start the NIDAQ_mx_Source from Visual Studio, or after you start it from the batch file. The program will then stop at that breakpoint and you can go through the code step by step until you experience the crash. The line of code that causes the crash will tell you much about the underlying issue.

Regards, Peter

Re: BCI2000Launcher BuildError 200088

Posted: 18 Aug 2016, 01:43
by tinui
Peter,

I was able to successfully recorded using the NI_DAQ in your advice.

Thank for very much for your support.
tinui.

Re: BCI2000Launcher BuildError 200088

Posted: 18 Aug 2016, 11:00
by pbrunner
Tinui,

I am glad that this worked for you.

If possible, can you summarize the steps you took to resolve the issues? This would be helpful for BCI2000 users that might run into the same issue with the NIDAQ_mx_Source.

Regards, Peter