Self-paced Dot Probe


This script comes from Tom Campbell, and appears in the DMDX List Archive.

Tom is contactable at <tomc@psychology.leeds.ac.uk>.

A fixation cross is presented centrally for c.500 msec, followed by two images to the left and right of the fixation cross for c.33 or c.100 msec.  (You'll need to provide your own .bmp files to get this to work). These images are then replaced by two mask images and then both of the mask images disappear. One of the mask images is replaced by a probe image (either an upward or a downward arrow).

The probe image stays on the screen until a response is made (either the key t (upward

arrow) or g(downward arrow).
   
With <cr> and <ntl>, as used below, one response allows the
onset of the next trial and the next trial does not begin until a
response has been made.

 

<azk> <cr> <ntl 0> <fd  16.722> <d 169> <t 5000> <vm 1152, 864, 864, 16, 0> <id
keyboard> <mpr +t> <mnr +g> <clfb> <dbc 0> <dwc 225225225>

0 "Press SPACEBAR or FOOTPEDAL to start";
+1/<fd 30><XY 600,400> "+"/<fd 6><XY 700,300><bmp>"nm1.bmp",<XY 300,
300><bmp>"nm1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
-2/<fd 30><XY 600,400> "+"/<fd 1><XY 300,300><bmp>"af1_3.bmp",<XY 700,
300><bmp>"af1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
+3/<fd 30><XY 600,400> "+"/<fd 6><XY 300,300><bmp>"hm1_2.bmp",<XY 700,
300><bmp>"hm1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
-4/<fd 30><XY 600,400> "+"/<fd 1><XY 700,300><bmp>"am1_2.bmp",<XY 300,
300><bmp>"am1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
+5/<fd 30><XY 600,400> "+"/<fd 6><XY 300,300><bmp>"nf1.bmp",<XY 700,
300><bmp>"nf1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
-6/<fd 30><XY 600,400> "+"/<fd 1><XY 300,300><bmp>"hf1_2.bmp",<XY 700,
300><bmp>"hf1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
+7/<fd 30><XY 600,400> "+"/<fd 6><XY 700,300><bmp>"hf1_3.bmp",<XY 300,
300><bmp>"hf1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
-8/<fd 30><XY 600,400> "+"/<fd 1><XY 300,300><bmp>"am1_4.bmp",<XY 700,
300><bmp>"am1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
-9/<fd 30><XY 600,400> "+"/<fd 1><XY 700,300><bmp>"nm1.bmp",<XY 300,
300><bmp>"nm1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
-10/<fd 30><XY 600,400> "+"/<fd 1><XY 700,300><bmp>"nf1.bmp",<XY 300,
300><bmp>"nf1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
+11/<fd 30><XY 600,400> "+"/<fd 6><XY 700,300><bmp>"af1_4.bmp",<XY 300,
300><bmp>"af1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
+12/<fd 30><XY 600,400> "+"/<fd 6><XY 300,300><bmp>"af1_2.bmp",<XY 700,
300><bmp>"af1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
+13/<fd 30><XY 600,400> "+"/<fd 6><XY 700,300><bmp>"hm1_4.bmp",<XY 300,
300><bmp>"hm1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
+14/<fd 30><XY 600,400> "+"/<fd 6><XY 700,300><bmp>"nm1.bmp",<XY 300,
300><bmp>"nm1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";
-15/<fd 30><XY 600,400> "+"/<fd 1><XY 300,300><bmp>"nf1.bmp",<XY 700,
300><bmp>"nf1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
-16/<fd 30><XY 600,400> "+"/<fd 1><XY 300,300><bmp>"hm1_3.bmp",<XY 700,
300><bmp>"hm1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
-17/<fd 30><XY 600,400> "+"/<fd 1><XY 700,300><bmp>"hf1_4.bmp",<XY 300,
300><bmp>"hf1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 700,300><bmp>"down.bmp";
+18/<fd 30><XY 600,400> "+"/<fd 6><XY 300,300><bmp>"am1_3.bmp",<XY 700,
300><bmp>"am1_1.bmp"/<fd 12><XY 300, 300><bmp>"00001.bmp",<XY 700,
300><bmp>"00001.bmp"/<fd 0>/! *<XY 300,300><bmp>"up.bmp";

0 "The END! Thank you for taking part.";