CSV file is not written on Windows?

Concerning processing components: filters, file load/save, visualizations, communication ...
Post Reply
breakbitero
Posts: 1
Joined: Fri Aug 29, 2014 2:34 pm

CSV file is not written on Windows?

Post by breakbitero »

Hello everybody!.
I am academic researcher in marketing. I bought a Brainwave from Neurosky. But I have not idea about programming. I tried to built a scenario to do an experiment. Actually I can not. I would like to collaborate with somebody to help me in this way.
I would like to design a scenario to show images an record in csv the data (include attention). It is necessary to record when the images were showed. I tried to modify some existing scenario. No win.
Can somebody help me?. I really appreciate it. Maybe we can collaborate.

Thank you very much.


(edit: topic copied & renamed by admin)

Katie356
Posts: 4
Joined: Sat Sep 13, 2014 11:42 pm

Re: Help built a scenario for Neurosky Brainwave

Post by Katie356 »

Hi breakbitero

I'm having a similar problem trying to record the raw EEG readings to a csv file.

In the OpenVibe Designer, displaying the EEG works great:

[Acquisition client]------->[Signal display]


But when I replace the “Signal display” box with “CSV File Writer”, nothing happens

[Acquisition client]------->[CSV File Writer]

And I set the configuration for the [CSV File Writer]
to c:\hello.csv

After I run this, there is no c:\hello.csv file.

OpenVibe has a help section on the csv writer, but unfortunately I'm just not understanding enough to get it to actually work.

http://openvibe.inria.fr/documentation/ ... riter.html

I'm hoping someone here could kindly point out what I'm doing wrong.

Thanks for any help!

Katie

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Help built a scenario for Neurosky Brainwave

Post by jtlindgren »

Hi Katie, on Windows 7 you may not be allowed to write directly to C:\. Try writing the file to some subdirectory where you have write access.

For some reason there is no appropriate error message (the related fopen() call does not appear to return NULL).


Best,
Jussi

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Help built a scenario for Neurosky Brainwave

Post by jtlindgren »

I realize that this is additionally an issue with how backslashes \ are currently handled in OpenViBE: In all OpenViBE paths, its advisable to use the Linux style forward slash /. This is because backslash is an escape character in OpenViBE. Using forward slash should still work on Windows. Just replace backslash with slash, i.e. try "C:/hello.csv".


Cheers,
Jussi

Post Reply