EmoEngineClientLibrary Documentation

Requirements

  • Emotiv EPOC neuroheadset Research Edition SDK: Available from Emotiv, list price $750.00.
  • Visual Studio 2010: Available from Microsoft.
  • Windows 7 or higher: Widely available, e.g., Microsoft Store.

Build Instructions

The Emotiv SDK DLLs and managed wrapper assembly aren't included in this distribution. You need to add them to the Emotiv Engine Client projects to build the solution.

  1. Download the EmoEngineClientLibrary solution from the Source tab.
  2. Copy the DLLs provided by the Emotiv SDK, edk.dll and edk_utils.dll, into the EmoEngineClientLibrary folder that contains EmoEngineClientLibrary.csproj.
  3. In Windows Explorer, double-click EmoEngineClientLibrary.csproj to open Visual Studio.
  4. In Solution Explorer, click the arrow to open the EmoEngineClientLibrary.
  5. Right-click edk.dll and select Include in Project.
  6. In the Properties windows, set Copy to Output Directory to Copy Always.
  7. Repeat the previous steps for edk_utils.dll.
  8. In Solution Explorer, right-click References and select Add Reference.
  9. in the Add Reference dialog, click Browse and navigate to the Emotiv SDK installation folder, for example C:\Program Files (x86)\Emotiv Research Edition SDK_v1.0.0.5-PREMIUM.
  10. Select DotNetEmotivSDK.dll and click OK.
  11. Repeat the previous steps for the EmoEngineControlLibrary project.
  12. Repeat the previous steps for the RawDataTestApp project. Note that RawDataTestApp requires only DotNetEmotivSDK.dll, not the edk dlls.
  13. From the Build menu, click Rebuild Solution.

Running

  1. In Solution Explorer, right-click the RawDataTestApp project and select Set as StartUp Project.
  2. Plug in the EPOC bluetooth dongle.
  3. Turn on the EPOC headset.
  4. In Visual Studio, press F5 to start debugging.
  5. In the Emotiv Engine Realtime Client window, click Start EmoEngine. Headset status activates.
  6. Click Start Data Polling. Data from the neuroheadset displays.

Last edited Nov 14, 2013 at 12:47 AM by JimGalasyn, version 20

Comments

lauriiite Dec 9, 2013 at 1:18 PM 
Hi..
When I'm debugging this project, i have an error in this line:
this._emotivEngine = EmoEngine.Instance;
Unable to load DLL 'edk.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

But I copy edk.dll in all 3 project parts..


And also before debuging project i get warnings:
Warning 1 Missing XML comment for publicly visible type or member 'EmoEngineClientLibrary.ChannelNameList' C:\Users\Aivars\Desktop\emotivengineclient-11837\EmoEngineClientLibrary\EmoEngineClientLibrary\ChannelNameList.cs 8 18 EmoEngineClientLibrary
Warning 2 Missing XML comment for publicly visible type or member 'EmoEngineClientLibrary.BufferFilledEventHandler' C:\Users\Aivars\Desktop\emotivengineclient-11837\EmoEngineClientLibrary\EmoEngineClientLibrary\BufferFilledEventArgs.cs 8 26 EmoEngineClientLibrary
Warning 3 Missing XML comment for publicly visible type or member 'EmoEngineClientLibrary.BufferFilledEventArgs' C:\Users\Aivars\Desktop\emotivengineclient-11837\EmoEngineClientLibrary\EmoEngineClientLibrary\BufferFilledEventArgs.cs 10 18 EmoEngineClientLibrary
Warning 4 Missing XML comment for publicly visible type or member 'EmoEngineClientLibrary.BufferFilledEventArgs.BufferFilledEventArgs(double[], Emotiv.EdkDll.EE_DataChannel_t)' C:\Users\Aivars\Desktop\emotivengineclient-11837\EmoEngineClientLibrary\EmoEngineClientLibrary\BufferFilledEventArgs.cs 12 16 EmoEngineClientLibrary
etc.


Can you please help me to solve these problems..