I have a problem with automized file transfer after an eye tracking experiment using SR Research Eyelink 1000. Using pylink.EyeLink("100.1.1.1").receiveDataFile prints the progress of the file transfer almost byte by byte. This results in thousands of lines printed to the console. PsychoPy keeps all these lines visible and scrollable in the interface instead of setting a maximum. After some thousand lines, the PsychoPy GUI becomes extremely slow to print additional lines and the receiveDataFile function waits until every single print command returns. This makes the file transfer take at least 15 minutes instead of a few seconds.
One workaround from the SR Research Forum would be to override EyeLink.progressUpdate but I can’t find the file containing the function. Also, this would be a pretty messy and not sustainable solution.
Ideally, receiveDataFile would provide an optional input parameter specifying if progress should be printed consecutively or just one print after file transfer finished.
The thread also contains useful information about other issues. For example there is an EyeLinkCoreGraphicsPsychoPy library with which you can do calibration natively within the PsychoPy window.
The solution to the present thread states that PsychoPy uses and old version of pylink. I’ve installed the latest version 0.3.3, which results in the same error. I’ve also installed several previous versions with no success.
You are right: The forum links are outdated and there are new links in the forum now due to updated versions of the EyeLink Developer’s Kit and pylink. I updated my answer from above to include the valid links.
Thank you for your reply. I’ve managed to install successfully but have unfortunately had other issues! I’ve proceeded with using the official Tobii python wrapper for their Glasses 3 API (g3pylib). This approach has been reasonably straightforward.