Group: Forum Members
Posts: 17,
Visits: 41
|
Hi, i am programing my own version of the color shape task with Inquisit 4 Lab and I would like Inquisit NOT to count timeout ms to the parameter "latency" of trials that have run out due to timeout. With the following script, Inquisit still counts the timeout to the latency. But I want to exclude the ms of timeout trials to the latency counting. But I can't just count those trials as invalid because I need to count them as omission errors. How do I script that? Exclude timeout trials from being counted to the latency and frnakly to the meanRT, and so on... And still count timeout trials as omission errors?
This is a tiny part of the script, but I think somewhere under "/ontrialend" I am missing some commands...
<trial blueincongruent> /ontrialbegin = [values.count_incongruent += 1] /ontrialbegin = [values.congruency = 2] / pretrialpause = 200 / stimulustimes = [0= fixation; 500=blueincongruent] / correctresponse = ("j") / validresponse = ("d", "f", "j", "k") / timeout = 2000 / errormessage = true(x, 400) /ontrialend = [if (trial.blueincongruent.correct) {values.countcorrect_incongruent += 1; values.sumrt_incongruent += trial.blueincongruent.latency}] </trial>
I would be very thankful for some help.
Kind regards, Ulrike
|