atom 0 Posted January 8, 2020 How do I get the current timestamp from the eye tracker in Unity? @Corvus @Daniel_Y @Andy.YC_Wang Share this post Link to post Share on other sites
Corvus 33 Posted January 9, 2020 @atom You can get the timestamp with this function: ViveSR.anipal.Eye.EyeData_v2.timestamp You can find more info in the documentation. If you want an example of recording data and timestamps at 120hz please check this post: https://forum.vive.com/topic/5897-getting-verbosedata-at-the-fastest-rate-possible/?tab=comments#comment-26428 Share this post Link to post Share on other sites
Ihshan Gumilar 0 Posted December 14, 2020 Hi, I am following this forum but I still cannot get it. It maybe because I am pretty new to vive pro eye. I just don't know how to get timestamp data ? I follow this ViveSR.anipal.Eye.EyeData_v2.timestamp but it does not work. I tried to use this code SRanipal_Eye_API.GetEyeData(ref eyeData); // Timestamp timeStampList.Add(eyeData.timestamp); Kindly see the result that I saved into CSV. The first column (TimeStamp) is the one that is produced by using the exact above code while the second column (UnixTimeStamp) is produced by using the following code var unixTimestamp = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds; unixTimeStampList.Add(unixTimestamp); I don't understand why in the first column, it only produced two same timestamp. What does it mean ? Sorry I am so confused. Could anyone give me some help to get a propriate way of recording timestamp ? Thank you IG @Corvus Share this post Link to post Share on other sites
Corvus 33 Posted yesterday at 05:55 PM @Ihshan Gumilar What version of the eye tracking SDK & Runtime are you using? There are bug fixes in the latest release that fixed timestamp issues. Share this post Link to post Share on other sites