Xas.Emotif
The aim of Xas.Emotif is to offer a .NET library which can connect and manage communication between your application and the EPOC headset.
The EPOC headset is a product designed by
Emotiv.
To use this library, you must download the Lite SDK from Emotiv available here :
SDK Lite to get the edk.dll file. I do not provide this file into my releases.
News
First release, version 0.6
- Connect only to the default Control Panel : IP: 127.0.0.1, Port: 1726 (default, but can be modified)
- You can get properties about eyes states and facial expressions
- The differents states for cognitive properties are not implemented except for the signal amplitude
How to use
Simply include the
Xas.Emotif namespace and declare an instance of
EmotifHelper class.
Then add an handler on EmotifEventFired event.
EmotifHelper motiv = new EmotifHelper();
motiv.EmotifEventFired += new EmotifFiredEventHandler( motiv_EmotivEventFired );
motiv.Connect(); // 1726 by default
When disposing the class, don't forget to set the event to close the loop thread
try
{
motiv.AskEmotifClose.Set();
motiv.Disconnect();
}