View Single Post
Old 08-06-2014, 02:12 PM
chris2307 chris2307 is offline
Join Date: Nov 2013
Posts: 36
Thanks for the reply

I've been trying it with and without the yield statement actually and I get the same results with both. Incidentally, the only reason the yield statement is in the example above is that it happened to be what I had just tested before posting!

The experiment actually does do what I tell it to (technically), it just doesn't draw to the screen. For example, when I call my drift correction function the experiment does stop (which is good). The EyeTracker does go in to drift correction mode. The only issue is that the drift correction screen is not drawn to the screen. I can only assume that something is blocking the EyeTracker from drawing to the screen which it should be capable of doing.

My EyeTracker.driftCorrection() function simply calls the line:

pylink.getEYELINK().doDriftCorrect(960, 540, 1, 1)
The third parameter specifies that the EyeTracker should draw to the screen for me and release the screen when finished.
Reply With Quote