Home › Forums › Software Development › .NET SDK with Tobii system on Alienware Area 51m
Tagged: .NET SDK Alienware
- This topic has 6 replies, 3 voices, and was last updated 3 years, 5 months ago by Grant [Tobii].
- AuthorPosts
- 27/04/2021 at 21:15 #20210Gian Maria GiacomelloParticipant
Hi, I’m a programmer, so I have decided, for simple curiosity, to test my Tobii integrated system using .NET SDK, I’m able to discover the device, but I’m not able to receive events.
static void Main(string[] args)
{
var trackers = EyeTrackingOperations.FindAllEyeTrackers();
trackers[0].GazeDataReceived += Program_GazeDataReceived;
trackers[0].HMDGazeDataReceived += Program_HMDGazeDataReceived;while (true)
{
Thread.Sleep(1000);
}
}What I’m doing wrong?
Best regards
Gian28/04/2021 at 12:16 #20230Grant [Tobii]KeymasterHi @gmgunderground, could you kindly specify exactly what Tobii Tracker you are using please and I will try to find the best solution for your product. Many thanks.
28/04/2021 at 16:30 #20242Gian Maria GiacomelloParticipantHi, this is what i can read from visual studio after device discovery
Address {tobii-prp://is50a-100000017417/}
DeviceCapabilities HasGazeData | CanDoScreenBasedCalibration
DeviceName “IS5_Firefly”
FirmwareVersion “1.51.0-c769d95”
Model “IS5_Firefly”
RuntimeVersion “1.21.16.0_81a1a35”
SerialNumber “IS50A-100000017417”29/04/2021 at 01:48 #20244Hongbin ZouParticipantYou are using the Tobii Pro SDK, that may not work. See your PM for details.
29/04/2021 at 12:42 #20246Grant [Tobii]KeymasterHi @gmgunderground, please use the Tobii Interaction Library for use with this tracker.
We have created a getting started guide with sample code and tutorials which you can read @
As you will see, C# bindings are available so you should not have much trouble to get up and running.
Check it out and let us know how you get on, thanks.29/04/2021 at 20:46 #20252Gian Maria GiacomelloParticipantHi, with your information, now I have started the 1st test application. I think I was using the wrong SDK. With the interaction library all is working correctly
30/04/2021 at 13:55 #20256Grant [Tobii]KeymasterGreat! Please don’t hesitate to get in touch again should you need any further information. Best wishes.
- AuthorPosts
- You must be logged in to reply to this topic.