Group: Administrators
Posts: 13K,
Visits: 104K
|
Several options depending on the *type* of RT feedback you want to display. What you probably want to do is simply add the already existing RTFeedback <text> element
<text RTfeedback> /items = ("your speed: <%(trial.nocue2.sumlatency + trial.centercue2.totalsumlatency + trial.doublecue2.sumlatency + trial.spatialcue2.sumlatency)/(trial.centercue2.count + trial.nocue2.count + trial.doublecue2.count + trial.spatialcue2.count)%> ms") / fontstyle = ("Arial", 5%, false, false, false, false, 5, 1) /position = (50%, 40%) </text>
to the practice feedback <trial> element's /stimulusframes:
<trial practice_feedback> /ontrialbegin = [if (values.validcorrect == 1) {text.feedback.textcolor = green; values.selectfeedback = 2} else {text.feedback.textcolor = red; values.selectfeedback = 1}] /stimulusframes = [1 = fixation, feedback, rtfeedback] /trialduration = values.practicefeedback_duration /branch = [trial.iti] /recorddata = false </trial>
|