Emotiv EPOC driver status

Making & changing hardware drivers in Acquisition Server
ndpatel
Posts: 3
Joined: Fri Oct 29, 2010 7:49 am

Re: Emotiv EPOC driver status

Post by ndpatel »

Hello everyone,

I tried to install using given steps. I followed each instruction but I have one problem installing acquisition server and it says that tried to look at openvibe/openvibe-applications/acquisition-server/branches there is no directory exist as wip-lbonnet-emotiv. I check on tortoiseSVN back and I found may be its been removed.

I am new to this software, just let me to how to resolve this problem. I am trying to interface my emotive research SDK headset with openvibe.

Waiting for your reply, and thanking in advance.


Regards,
Nehal Patel

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

Hi Nehal,

Since the latest release, the Emotiv Driver is in the svn Trunk. I should have post something here...

Check the FAQ for instructions.
Basically, you just have to put your research SDK in C:/Program Files/. Your directory should look like C:/Program Files/Emotiv/Emotiv Development Kit_v1.0.0.3-PREMIUM.
Then, just build the platform.

Hope you'll get it working ;)

Laurent-
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

Hello everyone !

We still have some question about the Emotiv driver, and how to get it work when building the software.
As stated in the FAQ...
We provide an acquisition driver for the Emotiv EPOC headset, with some constraints:

* You must have the Emotiv Research SDK (or any superior version)
* You need to build the driver from sources. Look here for a dedicated documentation.

The build scripts look in C:/Program Files/Emotiv/Emotiv Development Kit_v1.0.0.3-PREMIUM or C:/Program Files/Emotiv Development Kit_v1.0.0.3-PREMIUM to find the SDK. If you want to modify this path, modify the file cmake-modules/FindThirdPartyEmotivAPI.cmake.

Please note that you can't use both Emotiv Control Panel and the OpenViBE driver at the same time.
... just build the platform, as it is provided on the default SVN repository.
You don't need to build a specific branch, just build a fresh openvibe from SVN ;)

Please post your questions if you experience any problem !

Laurent-
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

Hello,

I am just beginning to use OpenViBE with my Emotiv headset.
I have the Emotiv SDK C:/Program Files/Emotiv/Emotiv Development Kit_v1.0.0.3-PREMIUM.

It probably sound silly but I am not sure what you mean by:
... just build the platform, as it is provided on the default SVN repository.
You don't need to build a specific branch, just build a fresh openvibe from SVN
How do I get the EEGs from Emotiv headset into the OpenViBE software?
Through the Acquisition client?

Thank you

Sarah

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

Hello Sarah, and thanks for your interest with OpenViBE !

Code: Select all

... just build the platform, as it is provided on the default SVN repository.
You don't need to build a specific branch, just build a fresh openvibe from SVN
The Emotiv driver for openvibe needs to be compiled from sources. This ensures that you actually bought the Research SDK from Emotiv before using it with openvibe.

To build from source, look here. As you are not registered developer, just checkout anonymously.
As stated in this documentation page, you will need to:
- install TortoiseSVN
- Checkout the source code
- Launch scripts/win32_install-dependencies.exe
- Launch win32_build.cmd

Then to actually use the EEG:
- Launch Acquisition Server and select the emotiv driver (this page may help)
- Launch Designer and build your openvibe scenario (an acquisition client and a signal display should be a good start, look here for designer documentation).

hope this helps.

Laurent
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

Ok I have installed Tortoise SDK and OpenViBE.
I don't know how to
- Checkout the source code
- Launch scripts/win32_install-dependencies.exe
- Launch win32_build.cmd
Thank you for replying so quickly!

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Emotiv EPOC driver status

Post by yrenard »

Dear sgarrity,

instead of checking out the source code from SVN, you may just want to download a source archive from the download page :)

That's easier.
Hope that helps,
Yann

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

I have downloaded the source archive from the download page.

But instead of having - scripts/win32_install-dependencies.exe I have scripts/win32_install-dependencies.nsi

I have win32-build, but when I run it, it says - The filename, directory name, or volume label syntax is incorrect. 'cmake' is not regognized as an internal or external command, operable program or batch file.
An error occurred during building process.

I extracted the source archive to my C: drive. Should I have saved it elsewhere?

Thank you for the help,

Sarah

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: Emotiv EPOC driver status

Post by yrenard »

Dear sgarrity,

you definitely have a scripts/win32-install_dependencies.exe file to run. It is included in the source archive (I just checked). Please find it and install the dependencies before trying to build the software. Btw, on the component selection panel, be careful choosing either Visual Studio 2008 or Visual Studio 2010 depending on the Visual Studio version you have.

Hope this helps,
Yann

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

I have successfully launched the win32install_dependencies.exe.

I am still getting an error with win32-build.
It says the filename, directory name or volume label syntax is incorrect.

I already have openViBE installed and it seems to be working. Should I remove it for this step to work?

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

It should work even with a previous installation of OpenViBE.

Can you please attach to your post the build message and the error you are getting ?
It's much easier when we have details.

Please also detail:
- Operating system (win xp, 7, 32b, 64b ?)
- Compiler (Visual studio 2008 or 2010 ?)

Did you follow the installation instructions ? One common error is related to the path in which you installed the source files:
Please avoid any special caracters such as &, |, !, ?, spaces etc in the path where you download and build the sources. This would break some of the build scripts (especially with Windows).

* Good example : C:\work\openvibe\repository
* Bad example (blanks) : C:\my working directory\openvibe
Hope this helps.

Laurent
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

I am running windows xp, 32b on parallels on my macbook.
I am using Visual Basic 2008 express edition.
Yes I followed the instructions and have read your FAQ several times (28 posts).
I installed the win32_install-dependencies.exe first, and am now trying the win32-build.

I have created the file Program on my C: Drive and created a blank file in it called CMakeList.txt too.

The path I saved the source files is
C:\Program Files\openvibe\Archive\openvibe-0.9.0-svn2639-src\scripts
No spaces etc.
Attachments
Error received when running win32-build
Error received when running win32-build
Screen shot 2011-02-07 at 9.42.42 AM.png (24.5 KiB) Viewed 216823 times

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

I searched for CMakeLists.txt and found it in
C:\Program Files\openvibe\Archive\openvibe-0.9.0-svn2639-src\dependencies\ogre
I copied it to the file I created C:\Program
I received this new error
Attachments
Screen shot 2011-02-07 at 10.00.41 AM.png
Screen shot 2011-02-07 at 10.00.41 AM.png (49.59 KiB) Viewed 216821 times

lbonnet
Site Admin
Posts: 417
Joined: Wed Oct 07, 2009 12:11 pm

Re: Emotiv EPOC driver status

Post by lbonnet »

The path I saved the source files is
C:\Program Files\openvibe\Archive\openvibe-0.9.0-svn2639-src\scripts
No spaces etc.
If fact there is a space between "Program" and "Files" in your path :)
That is why the script stops after "Program", saying:
Configuring and building C:\Program ...
The command finds a space, and thinks it is the end of path. So it tries to build a project located at "C:\Program ", and can't find it.

Try to uncompress the sources in a directory such as "C:\openvibe". It should definitly work ;)

Laurent
Follow us on twitter >> openvibebci

Checkout my (old) blog for some OpenViBE tips & tricks : here !

sgarrity
Posts: 11
Joined: Fri Feb 04, 2011 12:07 pm

Re: Emotiv EPOC driver status

Post by sgarrity »

OOPS!!! :shock:

Ok
New directory C:\OpenViBE\Archive\openvibe-0.9.0-svn2639-src\scripts

New error :cry:
Attachments
Screen shot 2011-02-07 at 11.15.47 AM.png
Screen shot 2011-02-07 at 11.15.47 AM.png (43.92 KiB) Viewed 216819 times

Post Reply