# Drift Correction issue

**URL:** <https://psychtoolbox.discourse.group/t/drift-correction-issue/452>\
**Category:** Uncategorized\
**Created:** [February 27, 2012, 1:21pm UTC](https://psychtoolbox.discourse.group/t/drift-correction-issue/452 "2012-02-27T13:21:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [February 27, 2012, 1:21pm UTC](https://psychtoolbox.discourse.group/t/drift-correction-issue/452/1 "2012-02-27T13:21:10Z")

</div>

Hello,  
  
I use the Eyelink 1000 and the PTB for an experiment which includes several trials. At the begining of each trial I am doing a drift correction by calling   
 \>\> EyelinkDoDriftCorrection(el);  
My problem is : every time I call this function, the setup screen with the instructions blinks (!!!) just before displaying the calibration target. After debugging I found out this is the function "PsychEyelinkDispatchCallback(callArgs, msg)" which displays the setup screen with callArgs = [7,0,0..] at that time, but I have no idea why this callback get those arguments at that point.  
  
I tried to call EyelinkDoDriftCorrection(el, x, y, draw, allowsetup) with allowsetp = 0 but it didn't solve this issue..  
  
Thanks for your help !
