- This topic has 1 reply, 2 voices, and was last updated 2 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Development › Zero timesync values in Stream Engine
Tagged: time sync stream engine
I am using the StreamEngine API (x64_4.15.1.5) via the .NET wrappers. I would like to use the time sync methods to get an approximate system time for each data point, so I’m following the suggestions in the API Developer Guide. When I call the following code, I always get zeros for all three time values.
tobii_timesync_data_t timesync;
Interop.tobii_timesync(tobii.deviceContext, out timesync);
Console.WriteLine($"timesync: {timesync.system_start_us}, {timesync.tracker_us}, {timesync.system_end_us}");
Is this expected? Is the timesync functionality supported by all trackers? I have been testing with both a PCEye and a 5C, I get the same behaviour on both. Is there something I am doing wrong?
Many thanks,
Hi @kirstym88, if you use the tobii_update_timesync function, this should now work correctly. Please let us know. Best Wishes.