Hello! I am trying to write a program for the PST Response Box Refresh Detector which would flash the screen between black and white and compare the coded timings of flashes and the refresh detector responses. My lab is planning to run ERP experiments and the timing needs to be as accurate as possible.
I am having troubles with dropped frames, so I am wondering if it is due to my system or my code. I tried to change the graphics card’s (ATI FirePro V4800) settings and it performs differently on the
timeByFrames test with the
Waiting for Vertical Refresh setting off and on. It does not make any difference for the dropped frames issue though. I have an Intel Xeon 3.07 GHz CPU.
So, how do I prevent the system from dropping frames?
I am attaching the
sysInfo test results, the
timeByFrames test results, my code and the sample of the output for my code.
Waiting for Vertical Refresh OFF:
Waiting for Vertical Refresh ON: