# A quick check on the use of WaitBlanking

**URL:** <https://psychtoolbox.discourse.group/t/a-quick-check-on-the-use-of-waitblanking/1567>\
**Category:** Uncategorized\
**Created:** [October 3, 2005, 2:31pm UTC](https://psychtoolbox.discourse.group/t/a-quick-check-on-the-use-of-waitblanking/1567 "2005-10-03T14:31:35Z")\
**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:** [October 3, 2005, 2:31pm UTC](https://psychtoolbox.discourse.group/t/a-quick-check-on-the-use-of-waitblanking/1567/1 "2005-10-03T14:31:35Z")

</div>

I have a program that is designed to diplay a three frame animation at  
varying speeds. The following is the code for the display of each  
animation:  
  
%%%%%  
for frame=1:3  
 screen('CopyWindow', part(framematrix(frame)), MainWindow,   
letterRect, letterpos);  
  
 screen (MainWindow, 'WaitBlanking', (delaytime));   
end  
%%%%  
  
  
I'm using Delaytime to vary the length of each frame. The monitor I'm  
using is set at 100Hz - i.e. 1 refresh every 10ms. Am I correct in  
thinking that Delaytime==1 (and NOT delaytime==0) will show the first  
two frames for 10ms EACH?  
  
Sorry if this seems an obvious and simple point - I just want to  
check! Thanks for any help!  
  
  
Jim Parkinson, University of Sussex, UK
