Home › Forums › Software Development › How do I generate an alert when the eye tracker gets disconnected? › Reply To: How do I generate an alert when the eye tracker gets disconnected?

Hi @adithideborah and thanks for your query. It would be helpful if you could kindly elaborate on the software and hardware you are working with.
I am afraid we have no out of the box solution to run directly for generating disconnect alarms however assuming you are using the Tobii Core SDK in conjunction with either the Tobii Tracker 4C or EyeX, then to generate an alert as to whether or not tracking has been lost, we would recommend using the EngineStateValue state as described @ https://tobii.github.io/CoreSDK/articles/states.html
If you require some guidance in getting started with the Core SDK, then I would encourage you to download our sample applications which you may be able to tailor for your specific needs rather than starting from scratch. Please find the samples @ https://github.com/Tobii/CoreSDK
Specifically, the Interaction_States_102 sample demonstrates how to use the EngineStateValue to determine if a user is being properly tracked or not.
You can also look at the https://tobii.github.io/CoreSDK/api/Tobii.Interaction.EngineStateProvider.html to retrieve further information about the Eye Tracker hardware state if needed.
Please let us know if we can be of any further help for your project. Best Wishes.