experiment ending before presenting picture stimuli!


Author
Message
gfrize
gfrize
Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)
Group: Forum Members
Posts: 14, Visits: 1

Thanks so much for your help- didn't spot that error! Works perfectly now.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K


************************** Pictures ************************


<trial picsex_true>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(error, 450)
/ correctmessage = true(correctresp, 250)
/ numframes = 1
/ frames = [1=sex]
</trial>


<trial piclife_true>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(error, 450)
/ correctmessage = true(correctresp, 250)
/ numframes = 1
/ frames = [1=life]
</trial>


<trial picsex_false>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(correctresp, 450)
/ correctmessage = true(error, 250)
/ numframes = 1
/ frames = [1=sex]
</trial>


<trial piclife_false>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(correctresp, 450)
/ correctmessage = true(error, 250)
/ numframes = 1
/ frames = [1=life]
</trial>




Those <trial> elements are not set up to display any <picture> elements.



gfrize
gfrize
Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)Partner Member (636 reputation)
Group: Forum Members
Posts: 14, Visits: 1

Hi there,


I have finally managed to get my script to run but my experiment seems to end after blocks 1 and 2 (word stimuli). It isn't moving on to the picture stimuli at all!


My pictures have uploaded fine so I think this must be an experimental code issue. I've pasted my script below. Can anyone help please?


Thanks.


**************GNAT Demonstration Program*********************
**********************Brian Nosek*****************************
*******************nosek@virginia.edu*************************
**********************10/29/2000******************************


Note that the coding for distractor trials (no response) results in Inquisit
marking errors (hitting the space bar) as 'correct' and correct responses (not hitting
the space bar) as 'errors'.  This is a consequence of ensuring accurate feedback to the
user, but should be recognized for data analysis.


<defaults>
/ font = ("Arial", -37, 700, 0, 34)
/ txbgcolor = (0, 0, 0)
/ screencolor = (0, 0, 0)
/ validkeys = (" ")
/ pretrialpause = 0
/ posttrialpause = 500
</defaults>



<data>
/ columns = [date time build subject trialcode blocknum trialnum latency response correct stimulusitem blockcode]
/ format = TAB
</data>


<text speedup>
/ items = ("The next set of blocks is faster than the last.  Get ready!")
/ position = (50, 75)
/ color = (255, 255, 255)
/ font = ("Arial", -26, 700, 0, 34)
/ numitems = 1
</text>


<text remind>
/ items = ("New category - Press space bar to begin")
/ position = (50, 75)
/ color = (255, 255, 255)
/ font = ("Arial", -26, 700, 0, 34)
/ numitems = 1
</text>


<text pause>
/ items = ("Ready? - Press space bar to begin")
/ position = (50, 75)
/ color = (255, 255, 255)
/ font = ("Arial", -26, 700, 0, 34)
/ numitems = 1
</text>



********************* Word Stimuli *********************


<text sex>
/ numitems = 20
/ items = sex
/ font = ("Arial", -37, 700, 0, 34)
/ color = (255, 0, 0)
</text>


<item sex>
/1 = "Connected"
/2 = "Pleasure"
/3 = "Happy"
/4 = "Intimate"
/5 = "Embrace"
/6 = "Genuine enjoyment"
/7 = "Relaxed"
/8 = "Comfortable"
/9 = "No pressure"
/10 = "Satisifed"
/11 = "Heart not head"
/12 = "Mutual"
/13 = "Acceptance"
/14 = "Bliss"
/15 = "Natural"
/16 = "Tender"
/17 = "Fun"
/18 = "Comfortable"
/19 = "Successful sex"
/20 = "Long lasting"
</item>


<text life>
/ numitems = 20
/ items = life
/ font = ("Arial", -37, 700, 0, 34)
/color = (0, 0, 255)
</text>


<item life>
/ 1 = "Socialising"
/ 2 = "Fun"
/ 3 = "Honesty"
/ 4 = "Loyalty"
/ 5 = "Humility"
/ 6 = "Pragmatic"
/ 7 = "Realist"
/ 8 = "Grounded"
/ 9 = "Logical"
/ 10 = "Exploration"
/ 11 = "Beauty"
/ 12 = "Music"
/ 13 = "Nephews"
/ 14 = "Excitement"
/ 15 = "Travelling"
/ 16 = "Adventure"
/ 17 = "Healthy"
/ 18 = "Wellbeing"
/ 19 = "Down time"
/ 20 = "Laughter"
</item>



********************* Picture Stimuli *********************
<picture picsex>
/ items = picsex
/ size = (35%, 35%)
</picture>



<item picsex>
/ 1 = "s1.jpg"
/ 2 = "s2.jpg"
/ 3 = "s3.jpg"
/ 4 = "s4.jpg"
/ 5 = "s5.jpg"
/ 6 = "s6.jpg"
/ 7 = "s7.jpg"
/ 8 = "s8.jpg"
/ 9 = "s9.jpg"
/ 10 = "s10.jpg"
/ 11 = "s11.jpg"
/ 12 = "s12.jpg"
/ 13 = "s13.jpg"
/ 14 = "s14.jpg"
/ 15 = "s15.jpg"
/ 16 = "s16.jpg"
/ 17 = "s17.jpg"
/ 18 = "s18.jpg"
/ 19 = "s19.jpg"
/ 20 = "s20.jpg"


</item>


<picture piclife>
/ items = piclife
/ size = (35%, 35%)
</picture>



<item piclife>
/ 1 = "l1.jpg"
/ 2 = "l2.jpg"
/ 3 = "l3.jpg"
/ 4 = "l4.jpg"
/ 5 = "l5.jpg"
/ 6 = "l6.jpg"
/ 7 = "l7.jpg"
/ 8 = "l8.jpg"
/ 9 = "l9.jpg"
/ 10 = "l10.jpg"
/ 11 = "l11.jpg"
/ 12 = "l12.jpg"
/ 13 = "l13.jpg"
/ 14 = "l14.jpg"
/ 15 = "l15.jpg"
/ 16 = "l16.jpg"
/ 17 = "l17.jpg"
/ 18 = "l18.jpg"
/ 19 = "l19.jpg"
/ 20 = "l20.jpg"


</item>




********************* Reminder Stimuli words*********************



<text sexremind>
/ numitems = 1
/ items = ("red")
/ color = (255, 0, 0)
/ position = (30,15)
</text>


<text liferemind>
/ numitems = 1
/ items = ("blue")
/ color = (0, 0, 255)
/ position = (70,15)
</text>



<text error>
/ numitems = 1
/ items = ("X")
/ position = (50,65)
/ color = (255, 0, 0)
</text>


<text correctresp>
/ numitems = 1
/ items = ("well done!")
/ position = (50,65)
/ color = (0, 255, 0)
</text>



********************* Reminder Stimuli pictures*********************
<text picsexremind>
/ numitems = 1
/ items = ("red")
/ color = (255, 0, 0)
/ position = (30,15)
</text>


<text picliferemind>
/ numitems = 1
/ items = ("blue")
/ color = (0, 0, 255)
/ position = (70,15)
</text>



*************************** Instructions *******************


<instruct>
/ nextkey = (" ")
/ prevkey = ("a")
/ nextlabel = "Space Bar to Continue"
/ prevlabel = "Press 'a' to go back"
/ wait = 1000
/ font = ("Arial", -19, 700, 0, 34)
</instruct>


<page begin>
^Please read the instructions carefully before proceeding with the task.
^^The task that you will be doing involves selecting stimuli based on colour.
You will see words or pictures flashed up in the middle of the screen, all you need
to do is select those that are marked in a certain colour. For instance, in one condition
you will be asked to search for all the words that are written in red.
^^When you see a word that is written in red hit the space bar as fast as possible.
^^Ignore all other words and pictures that are marked in a different colour.


</page>


<page begin2>
^The words and pictures that you will be looking for will either be red or blue.
^^Before each task begins you will be told which colour you will need to select. There will also be a
reminder at the top corner of the screen throughout.
^^At certain points you may be asked to select more than one colour at a time (e.g. red and blue).
^^Please ensure that you try and respond as quickly as possible, but try not to make any mistakes.


</page>


<page begin3>
^^In this task you will see pictures flashed up in the middle of the computer
screen and will be told to select those which have a boarder that is a certain colour.
For instance, in one condition you will be asked to search for all the pictures that have red border.^^


^^When you see a 'red' picture hit the space bar as fast as possible.
^^Ignore all other pictures that have a different colour.^^


</page>


<page begin4>


^^The borders that you will be looking for will be either red or blue.^^


Before each task begins you will be told which colour you will need to select. There will also be a
reminder at the top corner of the screen throughout.^^


You may be asked to select more than one colour (e.g. red and blue).^^


Please ensure that you try and respond as quickly as possible, but try not to make any mistakes.^^
</page>



<page end>
Thank you!^^
</page>


***************************words**************************************



<trial sex_true>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(error, 450)
/ correctmessage = true(correctresp, 250)
/ numframes = 1
/ frames = [1=sex]
</trial>


<trial life_true>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(error, 450)
/ correctmessage = true(correctresp, 250)
/ numframes = 1
/ frames = [1=life]
</trial>


<trial sex_false>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(correctresp, 450)
/ correctmessage = true(error, 250)
/ numframes = 1
/ frames = [1=sex]
</trial>


<trial life_false>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(correctresp, 450)
/ correctmessage = true(error, 250)
/ numframes = 1
/ frames = [1=life]
</trial>


<trial reminder>
/ correctresponse = (" ")
/ frames = [1=remind]
/ responsemode = correct
</trial>



<block sexlife>
/ bgstim = (sexremind)
/ trials = [1 = reminder;2-41 = random(sex_true, life_false)]
</block>


<block lifesex>
/ bgstim = (liferemind)
/ trials = [1 = reminder; 2-41 = random(sex_false, life_true)]
</block>




************************** Pictures ************************


<trial picsex_true>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(error, 450)
/ correctmessage = true(correctresp, 250)
/ numframes = 1
/ frames = [1=sex]
</trial>


<trial piclife_true>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(error, 450)
/ correctmessage = true(correctresp, 250)
/ numframes = 1
/ frames = [1=life]
</trial>


<trial picsex_false>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(correctresp, 450)
/ correctmessage = true(error, 250)
/ numframes = 1
/ frames = [1=sex]
</trial>


<trial piclife_false>
/ responsemode = timeout(1000)
/ correctresponse = (" ")
/ errormessage = true(correctresp, 450)
/ correctmessage = true(error, 250)
/ numframes = 1
/ frames = [1=life]
</trial>



<block picsex>
/ bgstim (sexremind)
/ trials = [1 = reminder; 2-41 = random(picsex_true, piclife_false)]
</block>


<block piclife>
/ bgstim (liferemind)
/ trials = [1 = reminder; 2-41 = random(picsex_false, piclife_true)]
</block>




************************** Experimental Code ************************



<expt>
/ preinstructions = (begin, begin2)
/ blocks = [1=sexlife; 2=lifesex; 3=picsex; 4=piclife]
/ postinstructions = (end)
</expt>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search