Page 1 of 1

BCI2000 and Visual Studio 2015 - C# (Window Forms) - Issue

Posted: 17 Jun 2016, 21:34
by chforo
Hello,

I've been working with BCI2000's API and the Demo of C#. It works very well, but when I import all classes to a Windows Form application (in C#). It runs, but didn't take me the recorded data in *.bin format (in other words it's empty).

Why does this happen?

Thanks for your answers.

Re: BCI2000 and Visual Studio 2015 - C# (Window Forms) - Issue

Posted: 20 Jun 2016, 12:03
by pbrunner
Chforo,

I don't understand what you refer as .bin format data. Please explain in more details.

Regards, Peter

Re: BCI2000 and Visual Studio 2015 - C# (Window Forms) - Issue

Posted: 20 Jun 2016, 17:16
by chforo
Hi Peter!

Well I asked more for this part of code:

using (FileStream fileStream = new FileStream("Data.bin", FileMode.Create)){....}

I saw that it didn“t function without the Console, using a c# windows form.