I have a problem with automized file transfer after an eye tracking experiment using SR Research Eyelink 1000. Using
pylink.EyeLink("184.108.40.206").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.
receiveDataFile would provide an optional input parameter specifying if progress should be printed consecutively or just one print after file transfer finished.