I’m using Psychopy 2021.2.3.
I currently have a problem with the eyetracking. I’m trying to get trial/events information in the output file of the eyetracker (which is an EyeLink 1000 Plus).
I tried using the following code at the
Begin Routine of a specific event:
I then set the Psychopy preferences to save the output “hdf5”. When I open the hdf5 output file, using HDFView (or also converting it to a .csv using Python), I’m unable to find this “beginning_of_fixation” anywhere.
I also tried the following, also in
Begin Routine of the same event:
if trials.thisN == 0: #trials is the name of my loop eyetracker.createTrialHandlerRecordTable(trials)
But in this case, the experiment ends, without giving me any error at all.
What could be a solution to successfully store trial information along with the tracker data?
Just to add on this I also tried
eyetracker.sendMessageEvent("beginning_of_fixation") that is adding Event, as I have seen in this forum, but also in this case the experiment ends without giving me any error.