Visit Homepage
Press "Enter" to skip to content

OpenVibe – Part 2

Note, here is  OpenVibe – Part 1

This next part is about creating two boxes (processing algorithms), one to view your live brainwaves, and one to save the brainwave readings to a file (to be used for later analysis).

Box 1 – Signal Display

The first step is to start the OpenVibe Designer, and open the “generic-stream-reader.xml” (if you are not sure how, see OpenVibe – Part 1).

Create an OpenVibe folder C:OpenVibe

Next Save the “generic-stream-reader.xml” as “acquisition-signal-display.xml” in the C:OpenVibe folder.

OpenVibe11

On the right-hand side of the OpenVibe Designer are the components of the processing algorithms.

Click on the little arrow next to “Acquisition and network IO” to open up the folder, then click on “Acquisition client” and drag is over to the box.

Right-click on “Generic Stream Reader” and then delete.

OpenVibe12

Next move over the “Acquisition client” and then by holding down your left mouse button create a line between the “Acquisition client” and the “Signal Display”. The pink triangle (Signal strea) and the green triangle (Signal display).

OpenVibe13

The Box 1 is now done and ready for when you use OpenVibe to read your brainwaves through Mindwave.

You can also click here to download “acquisition-signal-display.xml”:

Box 2 – CVS File

Open the OpenVibe Designer, and then open up the “acquisition-signal-display.xml” that you had previously created or downloaded.

Save as “acquisition-file-csv.xml” in the C:OpenVibe folder.

On the right-hand side of the OpenVibe Designer click on the little arrow next to “File reading and writing” to open up the folder, then click on the little arrow next to “CSV”, then click on “CSV File Writer” and drag is over to the box.

Right-click on “Signal display” and then delete.

Next move over the “File reading and writing” and then by holding down your left mouse button create a line between the “Acquisition client” and the “File reading and writing”. The pink triangle (Signal strea) and the pink triangle (Streamed Matrix).

OpenVibe14

Double-click on “CSV File Writer”.

OpenVibe15

Now change the file name to:

c:/OpenVibe/hello.csv   and click on “Apply”

OpenVibe16

Note the forward slashes are very important, it you use back slashes it won’t work (for esoteric programming reasons). I had no idea, but the OpenVibe person (Jussi) was very helpful on their support forum. Jussi also recommended saving the csv file to a folder, since certain versions of Windows does not like programs saving files to the C: drive.

http://openvibe.inria.fr/forum/

The Box 2 is now done and ready for when you use OpenVibe to read your brainwaves through Mindwave.

You can also click here to download “acquisition-file-csv.xml”:

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *