repeat trial after error


Author
Message
laurenemberson
laurenemberson
Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)Esteemed Member (2.3K reputation)
Group: Forum Members
Posts: 12, Visits: 24
Hi-- This seems like a simple one but I can't find an existing forum thread on this issue.  I want to repeat a trial after an error.   Here is the relevant part of my code. Any help is much appreciated!  ~Lauren

<item familiarizationPics>
/1 = "images/ATflwr1.jpg"
/2 = "images/ATfish1.jpg"
/3 = "images/ATbird4.jpg"
/4 = "images/ATdogg2.jpg"
/5 = "images/ATflwr1.jpg"
...
</item>
<picture familiarization>
/ items = familiarizationPics
/ select = sequence
/ size = (400, 400)
/ erase = false
</picture>

<trial famTrial>
/ stimulustimes = [0=familiarization; 300=blank]
/ validresponse = (noresponse,"1","2")
/ iscorrectresponse = [trial.famTrial.response == list.famAnswers.nextvalue]
/ beginresponsetime = 0
/ trialduration = 1000
/ responseinterrupt = trial
/ errormessage = (wrong,500)
</trial>

<block famBlock>
/ preinstructions = (intro,famInstruct)
/ trials = [1 = famInstructionsWithPic; 2-449 = famTrial]
/ errormessage = false
/ blockfeedback = (correct)
/ ontrialend = [if (block.famBlock.errorstreak == 11 ) script.abort();]
</block>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search