Group: Forum Members
Posts: 6,
Visits: 34
|
Hi, I'm completely new in Inquisit. I'm trying to create an experiment on pleasantness judgments: the participant will see on the screen a photo and through two buttons he will be able to choose whether he likes it or not. There are four trials total, and I wish, in case of no-response, for a text to appear on the screen and for the trial to be repeated, but I have some issues. Can somebody help me? Thanks.
<parameters> / numberTrials = 8 </parameters>
<text noresponse> / items = ("Try to be faster next time") </text>
<list practice> / items = (trial.selectTrial) / poolsize = parameters.numberTrials </list>
<trial selectTrial> / stimulustimes = [0 = clearScreen, fixation] / branch = [ if (values.condition == 1){ return trial.congruent; } ] / trialduration = 1000 </trial>
<trial congruent> / stimulustimes = [0 = practicefaces, likeds, dislikesx] / validresponse = (noresponse, likeds, dislikesx) / correctresponse = (likeds, dislikesx) / timeout = 3000 / branch = [ if (trial.congruent_practice.error){ return trial.repeat; } else { list.practice.nextvalue; } ] </trial>
<trial repeat> /ontrialbegin = [ if (trial.congruent.response == 0){ trial.repeat.insertstimulusframe(text.noresponse, 1) } ] / timeout = 3000 / branch = [ list.practice.currentvalue; ] / ontrialend = [ trial.repeat.resetStimulusFrames(); ] </trial>
|