Closed agoodStu closed 5 years ago
Hi agoodStu,
I'm sorry for my late response, I had a vacation.
tobii_controller.subscribe()
internally calls tobii_research.EyeTracker.subscribe_to()
of Tobii PRO SDK, which sends your tobii eyetracker a request to start recording. There is a time lag between sending a request and the beginning of recording on tobii eyetracker. This time lag cannot be eliminated in principle.
I guess that recording had not been started when record_event('Start Recording')
was executed. An easy solution to this problem is to insert psychopy.core.wait()
immediately after tobii_controller.subscribe()
. If the time lag is not longer than 120 ms on your system, psychopy.core.wait(0.12)
would work (note that unit of the argument of psychopy.core.wait()
is second).
Hi hsogo,
Thank you for your response. I'm sorry for the late reply, I have been doing experiments for the past few days.
I'm glad I see eye to eye with you on this question. So I inserted a blank screen (150ms) in psychopy after tobii_controller.subscribe()
. It worked fine. But I think your solution is simpler and more convenient.
Thank you for developing this software. My classmates and I have benefited a lot from it.
Best wishes
When I record the data of eye movement in Psychopy, I got a negative value in TimeStamp column at the the beginning of each trial. I think there's some missing data. At your convenience, would you please tell me how to fix it. Thank you for your assistance. My Psychopy version is 1.85.6 in win10, eye tracker is Tobii-Tx 300. Here is some of the relevant code. `