Home › Forums › Software Development › [Solved] Launch ReCalibration Programmatically › Reply To: [Solved] Launch ReCalibration Programmatically
12/08/2016 at 15:24 #5549
Denny [Tobii]
Member
Hi,
The calls to EyeXHost.LaunchRecalibration() (and the other configuration calls) are non blocking. What you could do is to watch eyeXHost.EyeTrackingDeviceStatus for changes. Quick solution could be to insert the following:
do
{
// Give it some time to start configuring
Thread.Sleep(1000);
} while (eyeXHost.EyeTrackingDeviceStatus.Value == EyeTrackingDeviceStatus.Configuring);
Depending on your code, it might be better to listen to the changed events on EyeXHost.EyeTrackingDeviceStatus instead of the above.