Page 1 of 1

Turning off LEDs

PostPosted: 16 May 2014, 19:56
by rbixler
Hello,

I am working on an application that uses the c# client with the Eye Tribe.

At some point in the application I want to turn the eye tracker off and do something else which requires that the LEDs on the eye tracker are off.

However, I've tried several methods, such as shutting down the eye tracker server, deactivating the gaze manager, and stopping heartbeats from being sent to the server. Each one seems to work in terms of severing the connection between my application and the eye tracker, but the LED lights remain on. In fact, even when I close the application and verify that there is no Eye Tribe server running, the LED's remain on. The only thing that will shut them off is unplugging the USB.

Has anyone had a similar experience, or have any ideas on how I get the LEDs to turn off?

Thanks

Re: Turning off LEDs

PostPosted: 19 May 2014, 23:14
by Martin
Hi rbixler,

This should not be the case, by design the LEDs should turn off when the last client disconnects (e.g. stops sending heartbeats) or when the server shuts down.

What version of the software are you running? OS and computer?

Re: Turning off LEDs

PostPosted: 22 May 2014, 16:21
by rbixler
Hello Martin,

I am using the newest SDK (0.9.35). We just received a replacement Eye Tribe unit 3 weeks ago, if that helps any, and that unit is the one with the issue.

The computer is running Windows 7 Enterprise (64). It has an Intel i7-4770 processor, if that is relevant.

Re: Turning off LEDs

PostPosted: 27 May 2014, 00:02
by Martin
I'm don't think this is a hardware issue, I believe it is related to a client still being connected or a the server failing to register the disconnected client.

A good starting point would be to update the latest C# client library on Github.

If the problem remains please copy and past the contents from the latest log located in C:\Users\[USERNAME]\AppData\Local\EyeTribe\Logs

Also, please verify that the process/application using the client correctly shuts down. I've seen a couple of instances where the process is left hanging after UI has been shut down (older version of the client lib).

Also, there's a new version 0.9.36 available in the download section which has a couple of minor improvements to the server.

Re: Turning off LEDs

PostPosted: 28 Jun 2014, 23:22
by greg
I am using the C++ client. My experience is that the LEDs do turn off, but it waits several seconds after the last client has disconnected.

(Also, probably as a bug, after disconnect, I have to completely delete the GazeApi object. Trying to do a second connect on the old api object never returns)