Home › Forums › Software Development › Calling Tobii 5 calibration programatically
Tagged: calibration, Tobii 5
- This topic has 7 replies, 3 voices, and was last updated 2 years, 6 months ago by Grant [Tobii].
- 18/08/2020 at 17:42 #18647
We want to calibrate Tobii 5 programatically from our assistive application (.NET C#). With the 4C, we would launch Tobii.EyeX.Configuration.exe under C:\Program Files (x86)\Tobii\Tobii EyeX Config with the command line argument “–quick-calibration. This no longer works with Tobii 5. Nothing happens when we launch the EXE. The .NET SDK that we used for the 4C also works with the 5, so that’s great news. But calibration doesn’t work.
How do we calibrate Tobii 5 programatically?19/08/2020 at 13:01 #18648
Hi @sprasad1, thanks for your query. The syntax to call a quick calibration has now been changed. You can load this via the following command
"c:\Program Files (x86)\Tobii\Tobii Configuration\Tobii.Configuration.exe" -Q
Hopefully is what you were looking for! Please do let us know if you have any further questions. Best Wishes.25/08/2020 at 03:02 #18666
There seems to be a problem with this. With Tobii 5 plugged in, I ran Tobii.configuration.exe -Q and it correctly launched the calibration app with the three dots. After it completed, I tried to run it again. It returned immediately without doing anything. Repeated attempts at running the app resulted in the same behavior. The calibration window with the three dots would not show and the app would just exit. I couldn’t find this in the Windows Task Manager either.
With the previous version (the Tobii 4c version) we could run the app at will any number of times and it would always work.
What am I missing?25/08/2020 at 03:14 #18667
I have an update.
After it calibrates, Tobii.Configuration.exe does not exit. I used Process Explorer and found it was still running. That’s why I was not able to run it again. I had to kill it manually and then I was able to run it again.
So why does Tobii.Configuration.exe not exit after it completes calibration?31/08/2020 at 09:33 #18717
Hi @sprasad1, I have been trying to reproduce the issue but for me each time the Tobii.configuration.exe closes in processes (even if the calibration fails) .. are you running the command from the command prompt or the start -> run command?
Perhaps try running from an administrator shell to see if it makes any difference…31/08/2020 at 18:05 #18723Hongbin ZouParticipant
I can confirm there are times that Tobii.configuration.exe does not quit after calibration.
To solve this I just find and kill every Tobii.configuration.exe before running Tobii.configuration.exe -Q.31/08/2020 at 20:01 #18725
Thanks for your input Hongbin. That’s exactly what I was planning to do.03/09/2020 at 10:13 #18746
Thanks for your patience guys, we are trying to reproduce this issue with the intention of resolving this potential bug for a future release.
- You must be logged in to reply to this topic.